Skip to content

Commit

Permalink
Revert "test: Nuxt 3 now sets full URL rather than relative path to `…
Browse files Browse the repository at this point in the history
…Location` header"

This reverts commit b34c5b6.
  • Loading branch information
xicri committed Jan 11, 2024
1 parent b34c5b6 commit 20fccd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e.pwtest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ describe("redirection", () => {

test("redirection from old word ID works properly", async () => {
const srcURL = `${rootURL}/ja/barbara`;
const destURL = `${rootURL}/ja/barbara-pegg`;
const destURL = "/ja/barbara-pegg";

const res = await fetch(srcURL, {
redirect: "manual",
Expand All @@ -349,7 +349,7 @@ describe("redirection", () => {

test("redirection to strip slash", async () => {
const srcURL = `${rootURL}/ja/barbara-pegg/`;
const destURL = `${rootURL}/ja/barbara-pegg`;
const destURL = "/ja/barbara-pegg";

const res = await fetch(srcURL, {
redirect: "manual",
Expand Down

0 comments on commit 20fccd8

Please sign in to comment.