Skip to content

Commit 18adfa2

Browse files
lubieowoceKikobeats
authored andcommitted
test: update error message assertion
1 parent 9f21cdc commit 18adfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/middleware-general/test/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ describe('Middleware Runtime', () => {
561561
const payload = readMiddlewareJSON(response)
562562
expect('error' in payload).toBe(true)
563563
expect(payload.error.name).toBe('AbortError')
564-
expect(payload.error.message).toContain('The operation was aborted')
564+
expect(payload.error.message).toContain('This operation was aborted')
565565
})
566566

567567
it(`should validate & parse request url from any route`, async () => {

0 commit comments

Comments
 (0)