- PGlite (in-memory WASM Postgres) hosted in a child process, exposed via TCP socket; real migrations applied with prisma migrate deploy - Vitest harness (vitest.integration.config.ts, global-setup spawns PGlite + built Nuxt server, per-test TRUNCATE, factories, cookie-jar API client); no mocks, zero production code changes - 50 tests across auth, hunt, team, submit, review, showcase, diashow incl. SuperJSON envelope check; *.itest.ts keeps bun test untouched - CI: parallel unit + integration jobs in .github/workflows/test.yml - tests/ covered by nuxt typecheck via tests/tsconfig.json reference
22 lines
371 B
JSON
22 lines
371 B
JSON
{
|
|
// https://nuxt.com/docs/guide/concepts/typescript
|
|
"files": [],
|
|
"references": [
|
|
{
|
|
"path": "./.nuxt/tsconfig.app.json"
|
|
},
|
|
{
|
|
"path": "./.nuxt/tsconfig.server.json"
|
|
},
|
|
{
|
|
"path": "./.nuxt/tsconfig.shared.json"
|
|
},
|
|
{
|
|
"path": "./.nuxt/tsconfig.node.json"
|
|
},
|
|
{
|
|
"path": "./tests/tsconfig.json"
|
|
}
|
|
]
|
|
}
|