Skip to content

Commit 6406db6

Browse files
test: fix
1 parent 555bddd commit 6406db6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/setup-middlewares.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ describe("setupMiddlewares option", () => {
146146
pageErrors.push(error);
147147
})
148148
.on("request", (interceptedRequest) => {
149+
if (interceptedRequest.isInterceptResolutionHandled()) return;
150+
149151
interceptedRequest.continue({ method: "POST" });
150152
});
151153

0 commit comments

Comments
 (0)