Skip to content

Commit

Permalink
chore(test): consistent import order
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenoak committed Feb 12, 2024
1 parent ef47776 commit 78957a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spec/controls/OrbitControls.spec.ts
Original file line number Diff line number Diff line change
@@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion src/spec/util.spec.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/spec/world.spec.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down

0 comments on commit 78957a1

Please sign in to comment.