Files
Ready2Blob/vitest.config.ts
kawa d132413b2a 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"
2026-03-26 10:12:53 +01:00

10 lines
167 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
globals: true,
passWithNoTests: true,
},
});