Skip to content

Commit 36d10e1

Browse files
committed
fix js lint let -> const
1 parent 28907f6 commit 36d10e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/end-to-end/official-site.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ test("no console errors on card page", async ({ page }) => {
159159
});
160160

161161
test("CSP issues unique nonces per request", async ({page}) => {
162-
let csp1 = await (await page.goto(BASE)).headerValue("content-security-policy");
163-
let csp2 = await (await page.reload()).headerValue("content-security-policy");
162+
const csp1 = await (await page.goto(BASE)).headerValue("content-security-policy");
163+
const csp2 = await (await page.reload()).headerValue("content-security-policy");
164164

165165
expect(csp1, `check if ${csp1} != ${csp2}`).not.toEqual(csp2);
166166
});

0 commit comments

Comments
 (0)