完善报销通知与付款进度(08-01-reimbursement-notification-progress-clarity)
ci-e2e / e2e (push) Canceled after 0s
ci-minimal / check-minimal (push) Canceled after 0s

这个提交包含在:
2026-08-01 21:06:31 +08:00
父节点 ca24479a44
当前提交 aa6b9bc373
共修改 23 个文件,包含 730 行新增和 88 行删除
@@ -20,4 +20,21 @@ describe("notification types", () => {
NOTIFICATION_DOMAIN_SCOPES.workflow,
);
});
it("routes payment responsibility notifications through the reimbursement IM domain", () => {
expect(IM_SUPPORTED_NOTIFICATION_TYPES).toEqual(
expect.arrayContaining([
NOTIFICATION_TYPES.paymentBatchReviewRequested,
NOTIFICATION_TYPES.paymentBatchExecutionRequested,
]),
);
expect(resolveNotificationDomainScope(
NOTIFICATION_TYPES.paymentBatchReviewRequested,
"payment_batch",
)).toBe(NOTIFICATION_DOMAIN_SCOPES.reimbursement);
expect(resolveNotificationDomainScope(
NOTIFICATION_TYPES.paymentBatchExecutionRequested,
"payment_batch",
)).toBe(NOTIFICATION_DOMAIN_SCOPES.reimbursement);
});
});