- 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"
10 lines
167 B
TypeScript
10 lines
167 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
passWithNoTests: true,
|
|
},
|
|
});
|