Skip to content

Commit ba581f1

Browse files
committed
fix: lint error
1 parent 391243b commit ba581f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e-playwright/allowed-hosts-refactored.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,8 +1445,8 @@ describe("allowed hosts", () => {
14451445
waitUntil: "networkidle0",
14461446
});
14471447

1448-
tests.forEach((test) => {
1449-
const headers = { host: test };
1448+
tests.forEach((host) => {
1449+
const headers = { host };
14501450

14511451
if (!server.checkHeader(headers, "host")) {
14521452
throw new Error("Validation didn't fail");
@@ -1495,8 +1495,8 @@ describe("allowed hosts", () => {
14951495
"subdomain.example.com:80",
14961496
];
14971497

1498-
tests.forEach((test) => {
1499-
const headers = { host: test };
1498+
tests.forEach((host) => {
1499+
const headers = { host };
15001500

15011501
if (!server.checkHeader(headers, "host")) {
15021502
throw new Error("Validation didn't fail");

0 commit comments

Comments
 (0)