feat(01-01): configure Vitest for pure-function unit tests

- Created vitest.config.ts with environment: 'node' and globals: true
- Added passWithNoTests: true so vitest run exits 0 with no test files
- test script already present in package.json as "vitest run"
This commit is contained in:
2026-03-26 10:12:53 +01:00
parent 237d06b8f7
commit d132413b2a
+9
View File
@@ -0,0 +1,9 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
globals: true,
passWithNoTests: true,
},
});