Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 16, 2022
1 parent a27cb5e commit 719f7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ describe.skipIf(process.env.NUXT_TEST_DEV || isWindows)('payload rendering', ()
it('renders a payload', async () => {
const payload = await $fetch('/random/a/_payload.js', { responseType: 'text' })
expect(payload).toMatch(
/export default \{data:\{\$frand_a:\[[^\]]*\]\,"random:rand_a":\d*,"random:default":\d*\},state:\{},prerenderedAt:\d*\}/
/export default \{data:\{\$frand_a:\[[^\]]*\],"random:rand_a":\d*,"random:default":\d*\},state:\{},prerenderedAt:\d*\}/
)
})

Expand Down

0 comments on commit 719f7cc

Please sign in to comment.