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

Commit

Permalink
debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 11, 2022
1 parent 7c66c41 commit 2484081
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ describe('component islands', () => {
}))

if (!(process.env.NUXT_TEST_DEV || process.env.TEST_WITH_WEBPACK)) {
console.log('Head:', JSON.stringify(result.head, null, 1))
expect(result.head).toMatchInlineSnapshot(`
{
"link": [],
Expand All @@ -814,6 +815,7 @@ describe('component islands', () => {
}
`)
} else if (process.env.NUXT_TEST_DEV) {
console.log('Head (dev):', JSON.stringify(result.head, null, 1))
expect(result.head).toMatchInlineSnapshot(`
{
"link": [
Expand Down

0 comments on commit 2484081

Please sign in to comment.