Skip to content

Commit fc84bf8

Browse files
committed
update test
1 parent beda165 commit fc84bf8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/integration/react-rsc-basic/test/index.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,14 @@ describe('RSC prod', () => {
9090
const content = JSON.parse(
9191
await fs.readFile(middlewareManifestPath, 'utf8')
9292
)
93-
expect(content.clientInfo).toEqual([
93+
for (const item of [
9494
['/', true],
9595
['/next-api/image', true],
9696
['/next-api/link', true],
9797
['/routes/[dynamic]', true],
98-
])
98+
]) {
99+
expect(content.clientInfo).toContainEqual(item)
100+
}
99101
})
100102
runTests(context)
101103
})

0 commit comments

Comments
 (0)