Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Oct 29, 2021
1 parent 4fe393e commit a4b1b86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/integration/react-rsc-basic/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ describe('RSC prod', () => {
const content = JSON.parse(
await fs.readFile(middlewareManifestPath, 'utf8')
)
expect(content.clientInfo).toEqual([
for (const item of [
['/', true],
['/next-api/image', true],
['/next-api/link', true],
['/routes/[dynamic]', true],
])
]) {
expect(content.clientInfo).toContainEqual(item)
}
})
runTests(context)
})
Expand Down

0 comments on commit a4b1b86

Please sign in to comment.