switch from jest to vitest

This commit is contained in:
CrazyMax committed 2026-03-02 22:08:14 +01:00
1 parent 7054f155b5
commit 431a9f4c97
11 files changed
+988 -3253

No files matched your search

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