mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
test: type fixes the CI typecheck found, and the lowered test-new-service baseline
- mailInboxModel.test: actionsOf takes the entry alone since the AI reread left. - booking-origin.test: its endpoint helper gives the sequence an endpoint has. - test-new-service baseline follows booking-import's single service factory.
This commit is contained in:
@@ -69,10 +69,7 @@ describe('mailInboxModel', () => {
|
||||
|
||||
it('FE-MAILINBOX-MODEL-004: a forwarding confirmation or a newsletter only informs', () => {
|
||||
expect(
|
||||
actionsOf(
|
||||
entry({ item: null, reason: null }, { reason: 'forwarding_confirmation', forwarding_code: '123456' }),
|
||||
true
|
||||
)
|
||||
actionsOf(entry({ item: null, reason: null }, { reason: 'forwarding_confirmation', forwarding_code: '123456' }))
|
||||
).toEqual(['discard']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user