Skip to content

Commit a619488

Browse files
committed
fix: resolved a flaky test in notification
1 parent 8380bf3 commit a619488

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/functional/notifications/DeleteNotification.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ describe('execute', () => {
2525
})
2626

2727
test('should throw an error when the notification id does not exist', async () => {
28-
await expect(deleteNotification.execute(123)).rejects.toThrow(WriteError)
28+
await expect(deleteNotification.execute(9999)).rejects.toThrow(WriteError)
2929
})
3030
})

0 commit comments

Comments
 (0)