From 967701210dffbadc33cede5d0ac347ddbae9c063 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Thu, 9 May 2024 10:00:14 +0200 Subject: [PATCH] fix test --- test/e2e/app-dir/dynamic-in-generate-params/index.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/app-dir/dynamic-in-generate-params/index.test.ts b/test/e2e/app-dir/dynamic-in-generate-params/index.test.ts index 751315c3309de..d43ffdf9fad4b 100644 --- a/test/e2e/app-dir/dynamic-in-generate-params/index.test.ts +++ b/test/e2e/app-dir/dynamic-in-generate-params/index.test.ts @@ -32,9 +32,9 @@ describe('app-dir - dynamic in generate params', () => { }) it('should be able to call fetch while generating multiple dynamic pages', async () => { - const res0 = await next.fetch('dynamic/0') - const res1 = await next.fetch('dynamic/1') - assertSitemapResponse(res0) - assertSitemapResponse(res1) + const pageRes0 = await next.fetch('dynamic/0') + const pageRes1 = await next.fetch('dynamic/1') + expect(pageRes0.status).toBe(200) + expect(pageRes1.status).toBe(200) }) })