diff --git a/tests/bouncer.spec.js b/tests/bouncer.spec.js index a9a99f3..ff3c288 100644 --- a/tests/bouncer.spec.js +++ b/tests/bouncer.spec.js @@ -2,9 +2,7 @@ import { expect } from "@playwright/test"; import { test } from "../lib/cachebust-test"; test.describe("Bouncer", () => { - test("Check redirects work for transitioned sites", - { tag: ["@local-network"] }, - async ({ request }) => { + test("Check redirects work for transitioned sites", { tag: ["@local-network"] }, async ({ request }) => { const response = await request.get("http://www.attorneygeneral.gov.uk", { maxRedirects: 0 }); expect(response.status()).toBe(301); expect(response.headers()["location"]).toBe("https://www.gov.uk/government/organisations/attorney-generals-office");