Skip to content

Commit

Permalink
update tests to reflect new html_handling behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-shen committed Sep 26, 2024
1 parent 9c46d0f commit 5099b17
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/wrangler/e2e/dev.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1171,11 +1171,7 @@ describe("watch mode", () => {
const worker = helper.runLongLived(cmd);
const { url } = await worker.waitForReady();

let response = await fetch(url);
expect(response.status).toBe(200);
expect(await response.text()).toBe("Hello from user Worker!");

response = await fetch(`${url}/hey`);
let response = await fetch(`${url}/hey`);
expect(response.status).toBe(200);
expect(await response.text()).toBe("Hello from user Worker!");

Expand Down Expand Up @@ -1239,11 +1235,7 @@ describe("watch mode", () => {
const worker = helper.runLongLived(cmd);
const { url } = await worker.waitForReady();

let response = await fetch(url);
expect(response.status).toBe(200);
expect(await response.text()).toBe("Hello from user Worker!");

response = await fetch(`${url}/hey`);
let response = await fetch(`${url}/hey`);
expect(response.status).toBe(200);
expect(await response.text()).toBe("Hello from user Worker!");

Expand Down

0 comments on commit 5099b17

Please sign in to comment.