Skip to content

Commit

Permalink
Update expected middleware test error (#40918)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Sep 26, 2022
1 parent 9ec041e commit 3837aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/middleware-general/test/index.test.ts
Expand Up @@ -440,7 +440,7 @@ describe('Middleware Runtime', () => {
const payload = readMiddlewareJSON(response)
expect('error' in payload).toBe(true)
expect(payload.error.name).toBe('AbortError')
expect(payload.error.message).toBe('The operation was aborted.')
expect(payload.error.message).toContain('The operation was aborted')
})

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

0 comments on commit 3837aa1

Please sign in to comment.