Skip to content

Commit 93aa1b7

Browse files
committed
format
1 parent 4ec8b51 commit 93aa1b7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,13 @@ test("no console errors on card page", async ({ page }) => {
158158
await checkNoConsoleErrors(page, "card");
159159
});
160160

161-
test("CSP issues unique nonces per request", async ({page}) => {
162-
const csp1 = await (await page.goto(BASE)).headerValue("content-security-policy");
163-
const csp2 = await (await page.reload()).headerValue("content-security-policy");
161+
test("CSP issues unique nonces per request", async ({ page }) => {
162+
const csp1 = await (await page.goto(BASE)).headerValue(
163+
"content-security-policy",
164+
);
165+
const csp2 = await (await page.reload()).headerValue(
166+
"content-security-policy",
167+
);
164168

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

0 commit comments

Comments
 (0)