fix architecture and write new tests

This commit is contained in:
root
2026-06-10 00:40:19 -04:00
parent 560da1cadf
commit 80a597bc10
377 changed files with 84020 additions and 1337 deletions
+16
View File
@@ -0,0 +1,16 @@
import { loadEnv } from 'vite'
import { defineConfig } from 'vitest/config'
Object.assign(process.env, loadEnv('test', process.cwd(), ''))
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['src/tests/api/**/*.test.ts'],
testTimeout: 30000,
hookTimeout: 30000,
pool: 'forks',
poolOptions: { forks: { singleFork: true } },
},
})