reorder import, vi.mock is being hoisted

This commit is contained in:
2025-08-29 08:25:52 +02:00
parent 66a4c014ad
commit 52bffcd4f0
2 changed files with 2 additions and 2 deletions

7
src/index.<SKIP>test.js Normal file
View File

@@ -0,0 +1,7 @@
import { describe, it, expect } from 'vitest';
describe('sum test', () => {
it('adds 1 + 2 to equal 3', () => {
expect(1 + 2).toBe(3);
});
});