后端补充Webhook编排测试

This commit is contained in:
yml
2026-05-21 15:04:39 +08:00
parent 1a07431887
commit 26739235e4
3 changed files with 237 additions and 9 deletions
@@ -365,6 +365,14 @@
- `npm run typecheck`
- `npm run build`
- `npm test` 共 136 个用例通过
63. webhook service 迁移前补编排测试:
- 新增 `executeAgisoTradeWebhookWithDeps`,便于隔离 webhook event repository、商品匹配、订单 upsert 与订单详情补查依赖
- 覆盖验签失败落错误、未配置商品提前忽略、咸鱼订单补查后 upsert 三个关键分支
64. Docker 内验证通过:
- `src/services/order/webhook-service.test.js` 共 9 个用例通过
- `npm run typecheck`
- `npm run build`
- `npm test` 共 139 个用例通过
## 下一步建议