- bridge/vitest.config.ts : config + coverage v8 + passWithNoTests - bridge/tests/unit/sanity.test.ts : stub (real tests Phase 2) - bridge/tests/integration/sanity.test.ts : stub - Remove tests/.gitkeep
22 lines
490 B
TypeScript
22 lines
490 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: false,
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'lcov', 'html'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.test.ts', 'src/index.ts'],
|
|
thresholds: {
|
|
lines: 0,
|
|
functions: 0,
|
|
branches: 0,
|
|
statements: 0,
|
|
},
|
|
},
|
|
passWithNoTests: true,
|
|
},
|
|
});
|