Some checks failed
Deploy API Server / build-and-unit (push) Successful in 33s
Deploy API Server / current-integration (push) Successful in 29s
Deploy API Server / backward-compat (push) Successful in 17s
Deploy API Server / m-ai-03-synthetic-e2e (push) Failing after 1m6s
Deploy API Server / deploy (push) Has been skipped
- test/m-ai-03-gate.e2e-spec.ts: 6 fail-closed 核心测试 场景 1: 完整链路 (creation→snapshot→outbox) 场景 2: Admin Retry operationId 幂等 场景 3: 事务回滚验证 场景 4: Outbox 幂等 场景 5: 生产环境保护 场景 6: JWT 401 - REQUIRE_REAL_INFRA=true → beforeAll TCP 端口探测 MySQL/Redis 不可达 → 测试失败(不 soft-pass) - CI: 新增 MySQL/Redis health check(60s/30s timeout) - jest-m-ai-03.json: 匹配 gate 和 synthetic 两种 E2E Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
390 B
JSON
14 lines
390 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"rootDir": "..",
|
|
"testEnvironment": "node",
|
|
"testRegex": "m-ai-03-(gate|synthetic).e2e-spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)sx?$": ["ts-jest", { "useESM": false, "tsconfig": "tsconfig.json" }]
|
|
},
|
|
"transformIgnorePatterns": ["/node_modules/"],
|
|
"moduleNameMapper": {
|
|
"^jose$": "<rootDir>/test/mocks/jose.mock.ts"
|
|
}
|
|
}
|