test(auth): add end-to-end coverage for authentication flows

This commit is contained in:
neon
2026-03-30 03:58:27 -06:00
parent b5cc1ef370
commit 4d58418b93
14 changed files with 1841 additions and 72 deletions
+2 -3
View File
@@ -16,6 +16,7 @@
"start:prod": "node dist/main",
"db:generate": "drizzle-kit generate --name",
"db:migrate": "drizzle-kit migrate",
"db:migrate:e2e": "DATABASE_URL=postgres://projectx:projectx@localhost:5432/projectx_e2e pnpm db:migrate",
"db:migrate:runtime": "node dist/scripts/migrate.js",
"db:prepare:e2e": "tsx src/scripts/db-prepare-e2e.ts",
"db:studio": "drizzle-kit studio",
@@ -28,9 +29,7 @@
"test": "vitest run --exclude test/scanner.e2e-spec.ts --exclude test/scanner-file-ops.e2e-spec.ts",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"test:e2e": "vitest run test/app.e2e-spec.ts",
"test:e2e:scanner": "vitest run test/scanner.e2e-spec.ts --reporter=default --reporter=junit --outputFile.junit=${JUNIT_OUTPUT:-../test-results/server/scanner-e2e-junit.xml}",
"test:e2e:scanner:file-ops": "vitest run test/scanner-file-ops.e2e-spec.ts --reporter=default --reporter=junit --outputFile.junit=${JUNIT_OUTPUT:-../test-results/server/scanner-file-ops-e2e-junit.xml}"
"test:e2e": "vitest run test/app.e2e-spec.ts"
},
"dependencies": {
"7z-wasm": "^1.2.0",