diff --git a/test/integration/node-middleware.test.ts b/test/integration/node-middleware.test.ts index 31d94086..eb4136e5 100644 --- a/test/integration/node-middleware.test.ts +++ b/test/integration/node-middleware.test.ts @@ -363,8 +363,8 @@ describe("createNodeMiddleware(webhooks)", () => { secret: "mySecret", }); - app.all("/foo", (_request: any, response: any) => response.end("ok\n")); app.use(createNodeMiddleware(webhooks)); + app.all("/foo", (_request: any, response: any) => response.end("ok\n")); const server = app.listen();