Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed May 9, 2024
1 parent 11378c3 commit 9677012
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/app-dir/dynamic-in-generate-params/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})

0 comments on commit 9677012

Please sign in to comment.