chore: add vitest testing infrastructure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-03-23 09:13:01 +01:00
parent c0b8a94210
commit 5b56fc4dff
6 changed files with 997 additions and 3 deletions

11
vitest.config.ts Normal file
View File

@@ -0,0 +1,11 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'node',
setupFiles: ['./src/__tests__/setup.ts'],
testTimeout: 15000,
hookTimeout: 15000,
},
});