From 4b8028d45800e720b1eaa9651327ac479c7da437 Mon Sep 17 00:00:00 2001 From: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:44:54 +0100 Subject: [PATCH] fix --- packages/wrangler/e2e/dev.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wrangler/e2e/dev.test.ts b/packages/wrangler/e2e/dev.test.ts index 350a5bb36767..7ec1dc18ed57 100644 --- a/packages/wrangler/e2e/dev.test.ts +++ b/packages/wrangler/e2e/dev.test.ts @@ -929,13 +929,13 @@ describe("custom builds", () => { }); const resText = await retry( - (text) => text === "hello\n", + (text) => text.includes("hello"), async () => { const res2 = await fetch(url); return res2.text(); } ); - await expect(resText).toContain("world"); + await expect(resText).toBe("world"); }); });