Skip to content

Commit

Permalink
test: update error message assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce authored and Kikobeats committed Jul 11, 2024
1 parent e1b8b68 commit 4186e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/middleware-general/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ describe('Middleware Runtime', () => {
const payload = readMiddlewareJSON(response)
expect('error' in payload).toBe(true)
expect(payload.error.name).toBe('AbortError')
expect(payload.error.message).toContain('The operation was aborted')
expect(payload.error.message).toContain('This operation was aborted')
})

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

0 comments on commit 4186e9a

Please sign in to comment.