test(server): use new e2e (#11056)

This commit is contained in:
fengmk2
2025-03-24 04:36:49 +00:00
parent cb71b292fc
commit 83a2e3bcba
6 changed files with 1049 additions and 2 deletions

View File

@@ -15,8 +15,8 @@
"test:copilot": "ava \"src/__tests__/copilot-*.spec.ts\"",
"test:coverage": "c8 ava --concurrency 1 --serial",
"test:copilot:coverage": "c8 ava --timeout=5m \"src/__tests__/copilot-*.spec.ts\"",
"e2e": "cross-env TEST_MODE=e2e ava",
"e2e:coverage": "cross-env TEST_MODE=e2e c8 ava",
"e2e": "cross-env TEST_MODE=e2e ava --serial",
"e2e:coverage": "cross-env TEST_MODE=e2e c8 ava --serial",
"data-migration": "cross-env NODE_ENV=development r ./src/data/index.ts",
"init": "yarn prisma migrate dev && yarn data-migration run",
"seed": "r ./src/seed/index.ts",