From 78957a19fc15429e5a7da0965560090cf368f778 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 12 Feb 2024 13:41:38 -0700 Subject: [PATCH] chore(test): consistent import order --- src/spec/controls/OrbitControls.spec.ts | 2 +- src/spec/util.spec.ts | 2 +- src/spec/world.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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', () => {