From 2f898adb42d5a0d3a056d2d5f418f269eedbbdd3 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 18 Oct 2024 17:03:11 -0700 Subject: [PATCH] Update flakey edge log test --- test/e2e/app-dir/app-edge/app-edge.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/app-dir/app-edge/app-edge.test.ts b/test/e2e/app-dir/app-edge/app-edge.test.ts index 5d46218153c2f..de5520e57b322 100644 --- a/test/e2e/app-dir/app-edge/app-edge.test.ts +++ b/test/e2e/app-dir/app-edge/app-edge.test.ts @@ -72,7 +72,9 @@ describe('app-dir edge SSR', () => { it('should resolve client component without error', async () => { const logs = [] next.on('stderr', (log) => { - logs.push(log) + if (!log.includes('experimental edge runtime')) { + logs.push(log) + } }) const html = await next.render('/with-client') expect(html).toContain('My Button')