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 committed Jul 8, 2024
1 parent 59b12d1 commit eea3b61
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 eea3b61

Please sign in to comment.