api-server/test/jest-membership-integration.json
wangdl ea3652f5f9
All checks were successful
Deploy API Server / build-and-unit (push) Successful in 40s
Deploy API Server / current-integration (push) Successful in 32s
Deploy API Server / backward-compat (push) Successful in 0s
Deploy API Server / deploy (push) Successful in 1m3s
test: M-MEMBER-01-CLOSE-05B v2 真实 Service Integration
走真实 NestJS Service、MySQL、Redis、Prisma:
- Transaction: 幂等(串行+并发)/跨账号绑定/原子事务回滚
- Notification: UUID 幂等/CAS 并发/lifecycle(DID_RENEW)/环境隔离/unknown type
- Quota: enforced 模式余额1并发5→1成功4超限/幂等/返还/超限拦截

Mock 仅 JWS Verifier, 其余全部真实
2026-06-27 13:34:22 +08:00

16 lines
469 B
JSON

{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": "..",
"testEnvironment": "node",
"roots": ["<rootDir>/test", "<rootDir>/src"],
"testRegex": "test/m-member-01\\.integration\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)sx?$": ["ts-jest", { "useESM": false, "tsconfig": "tsconfig.json" }]
},
"transformIgnorePatterns": ["/node_modules/"],
"moduleNameMapper": {
"^jose$": "<rootDir>/test/mocks/jose.mock.ts"
},
"testTimeout": 120000
}