From c628076e914d311dc0c86276f5fd24abdb26ee07 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 18 Sep 2023 12:48:00 -0500 Subject: [PATCH] Disable flakey middleware-dev-error test (#55539) x-ref: [slack thread](https://vercel.slack.com/archives/C04DUD7EB1B/p1695039655548129) --- test/integration/middleware-dev-errors/test/index.test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/integration/middleware-dev-errors/test/index.test.js b/test/integration/middleware-dev-errors/test/index.test.js index 6c18888e694c6..fdbaa74664449 100644 --- a/test/integration/middleware-dev-errors/test/index.test.js +++ b/test/integration/middleware-dev-errors/test/index.test.js @@ -249,9 +249,10 @@ describe('Middleware development errors', () => { it('logs the error correctly', async () => { await fetchViaHTTP(context.appPort, '/') expect(context.logs.output).toContain(`Expected '{', got '}'`) - expect(context.logs.output.split(`Expected '{', got '}'`).length).toEqual( - 2 - ) + // TODO: investigate occasional duplicate errors causing flakiness + // expect(context.logs.output.split(`Expected '{', got '}'`).length).toEqual( + // 2 + // ) }) it('renders the error correctly and recovers', async () => {