feat: add testing using vitest

This commit is contained in:
Space-Banane
2026-03-20 14:56:19 +01:00
parent 1b3851d0af
commit 6ad74bb991
5 changed files with 83 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
},
});