diff --git a/src/spec/controls/OrbitControls.spec.ts b/src/spec/controls/OrbitControls.spec.ts index 16d8a95..59f550d 100644 --- a/src/spec/controls/OrbitControls.spec.ts +++ b/src/spec/controls/OrbitControls.spec.ts @@ -1,6 +1,6 @@ -import OrbitControls from '../../lib/controls/OrbitControls'; import { describe, expect, test } from 'vitest'; import * as THREE from 'three'; +import OrbitControls from '../../lib/controls/OrbitControls.js'; const getRenderer = () => { const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: false }); diff --git a/src/spec/util.spec.ts b/src/spec/util.spec.ts index 17f7ede..4e8bd55 100644 --- a/src/spec/util.spec.ts +++ b/src/spec/util.spec.ts @@ -1,5 +1,5 @@ -import { nextFrame, paced, sleep } from '../lib/util'; import { describe, expect, test } from 'vitest'; +import { nextFrame, paced, sleep } from '../lib/util.js'; describe('util', () => { describe('nextFrame', () => { diff --git a/src/spec/world.spec.ts b/src/spec/world.spec.ts index 82d2722..c0cf87e 100644 --- a/src/spec/world.spec.ts +++ b/src/spec/world.spec.ts @@ -1,5 +1,5 @@ -import { getSizeCategory, getFade } from '../lib/world.js'; import { describe, expect, test } from 'vitest'; +import { getSizeCategory, getFade } from '../lib/world.js'; describe('world', () => { describe('getFade', () => {