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.
api.test.js
1 parent b184afe commit 3da63feCopy full SHA for 3da63fe
1 file changed
test/e2e/api.test.js
@@ -680,8 +680,8 @@ describe(
680
const compiler = webpack(config);
681
const server = new Server(options, compiler);
682
683
- tests.forEach((test) => {
684
- const headers = { host: test };
+ tests.forEach((host) => {
+ const headers = { host };
685
686
if (!server.checkHeader(headers, "host")) {
687
throw new Error("Validation didn't pass");
@@ -726,8 +726,8 @@ describe(
726
const webSocketRequests = [];
727
const session = await page.context().newCDPSession(page);
728
729
- session.on("Network.webSocketCreated", (test) => {
730
- webSocketRequests.push(test);
+ session.on("Network.webSocketCreated", (payload) => {
+ webSocketRequests.push(payload);
731
});
732
733
await session.send("Target.setAutoAttach", {
0 commit comments