switch from jest to vitest

Signed-off-by: CrazyMax <[email protected]>
This commit is contained in:
CrazyMax committed 2026-02-27 18:24:25 +01:00
1 parent 206b75dbd2
commit 48428700fb
9 files changed
+1178 -3150

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import {defineConfig} from 'vitest/config';
export default defineConfig({
test: {
clearMocks: true,
environment: 'node',
setupFiles: ['./__tests__/setup.unit.ts'],
include: ['**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['clover'],
include: ['src/**/*.ts'],
exclude: ['src/**/main.ts']
}
}
});