Skip to content

Commit 9a567cf

Browse files
MelvinBotishpaul777
andcommitted
Remove generic error expectation from toggleTravelInvoicing test
The errors field was removed from failureData in the source code so that the backend-provided error is preserved. Update the test to no longer expect errors in failureData. Co-authored-by: Ishpaul Singh <ishpaul777@users.noreply.github.com>
1 parent 3c3eb17 commit 9a567cf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/unit/TravelInvoicingTest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ describe('TravelInvoicing', () => {
250250
isEnabled: !enabled,
251251
}),
252252
pendingAction: null,
253-
errors: expect.anything() as unknown,
254253
}),
255254
}),
256255
]),

0 commit comments

Comments
 (0)