We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49fe9ad commit 61ff711Copy full SHA for 61ff711
tests/integration/edge-handler.test.ts
@@ -267,7 +267,10 @@ describe("aborts middleware execution when the matcher conditions don't match th
267
origin,
268
url: path,
269
})
270
- expect(response.headers.has('x-hello-from-middleware-res'), `does match ${path}`).toBeTruthy()
+ expect(
271
+ response.headers.has('x-hello-from-middleware-res'),
272
+ `does not match ${path}`,
273
+ ).toBeTruthy()
274
expect(await response.text()).toBe('Hello from origin!')
275
expect(response.status).toBe(200)
276
}
0 commit comments