feat: migrate from jest to vitest

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2025-06-09 20:52:29 -04:00
parent 8836085300
commit 1bd0d58702
No known key found for this signature in database
GPG key ID: 6577287BDCA70840
8 changed files with 1577 additions and 3281 deletions

11
vitest.config.ts Normal file
View file

@ -0,0 +1,11 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
coverage: {
reporter: ['text', 'lcov'],
},
include: ['__tests__/**/*.ts'],
},
});