moving
Some checks failed
Installer Smoke / installer-smoke (push) Has been cancelled

This commit is contained in:
Oleg Maslov
2026-09-02 10:10:29 +02:00
commit 0c3e2ead3b
3841 changed files with 970576 additions and 0 deletions

29
vitest.infra.config.ts Normal file
View File

@@ -0,0 +1,29 @@
import { defineConfig } from 'vitest/config';
import path from 'node:path';
import { INFRA_TEST_SUITES } from './vitest.infra-suites';
import { waggleSrcAliases } from './vitest.aliases';
/**
* Infra-lane vitest config — runs ONLY the suites that require live PostgreSQL
* (5434) + Redis (6381). Bring infra up first: `docker-compose up -d postgres
* redis` (and apply the schema), then `npm run test:infra`.
*
* The default `npm test` (vitest.config.ts) EXCLUDES these so the no-Docker
* gate stays green. See docs/audits/2026-06-01-full-repo-verification-sweep.md.
*/
export default defineConfig({
resolve: {
alias: {
...waggleSrcAliases(__dirname),
'@/': path.resolve(__dirname, 'app/src') + '/',
'@': path.resolve(__dirname, 'app/src'),
},
},
test: {
globals: true,
testTimeout: 30_000,
setupFiles: ['./vitest.setup.ts'],
include: [...INFRA_TEST_SUITES],
exclude: ['node_modules/**'],
},
});