test: Настройка использования Vitest без импортов

This commit is contained in:
Ilia Mashkov
2026-07-16 13:36:18 +03:00
parent 22a0981f1e
commit 0a7638bb56
2 changed files with 1 additions and 1 deletions
@@ -1,4 +1,3 @@
import { describe, expect, it } from 'vitest';
import { calculateCollision } from './calculateCollision';
describe('calculateCollision', () => {
+1
View File
@@ -4,5 +4,6 @@ export default defineConfig({
test: {
environment: 'jsdom',
include: ['src/**/*.test.js'],
globals: true,
},
});