Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
theseanything committed Jul 26, 2024
1 parent 79d9562 commit 93dfb0c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/bouncer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 93dfb0c

Please sign in to comment.