From 0d3aa8672e870380b544eec3a3d13cbbe3453961 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 30 Sep 2022 16:55:31 -0700 Subject: [PATCH] add test --- test/e2e/prerender.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/prerender.test.ts b/test/e2e/prerender.test.ts index 7bf0023ef5154..f5e511c444c60 100644 --- a/test/e2e/prerender.test.ts +++ b/test/e2e/prerender.test.ts @@ -2428,6 +2428,11 @@ describe('Prerender', () => { expect(next.cliOutput).not.toContain('Failed to update prerender cache') }) + it('should not have experimental undici warning', async () => { + await waitFor(1000) + expect(next.cliOutput).not.toContain('option is unnecessary in Node.js') + }) + it('should not have attempted sending invalid payload', async () => { expect(next.cliOutput).not.toContain('argument entity must be string') })