From 8995f6b52f95d9b735b4b8ecb16e1189f5bb3581 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 19 Oct 2022 16:51:57 +0200 Subject: [PATCH] Fix test --- test/e2e/app-dir/index.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/app-dir/index.test.ts b/test/e2e/app-dir/index.test.ts index 9437a421e92b5..fb5ec766d1c00 100644 --- a/test/e2e/app-dir/index.test.ts +++ b/test/e2e/app-dir/index.test.ts @@ -1553,9 +1553,7 @@ describe('app dir', () => { if (isDev) { expect(await hasRedbox(browser)).toBe(true) - expect(await getRedboxHeader(browser)).toMatch( - /An error occurred: this is a test/ - ) + expect(await getRedboxHeader(browser)).toMatch(/this is a test/) } else { await browser expect(