Skip to content

Commit 2c3cf2f

Browse files
committed
fix(tests): move webhooks middleware to the first handler used by express
1 parent 6c5df5c commit 2c3cf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/node-middleware.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ describe("createNodeMiddleware(webhooks)", () => {
363363
secret: "mySecret",
364364
});
365365

366-
app.all("/foo", (_request: any, response: any) => response.end("ok\n"));
367366
app.use(createNodeMiddleware(webhooks));
367+
app.all("/foo", (_request: any, response: any) => response.end("ok\n"));
368368

369369
const server = app.listen();
370370

0 commit comments

Comments
 (0)