完善报销通知与付款进度(08-01-reimbursement-notification-progress-clarity)
这个提交包含在:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户