Skip to content

Commit 09e0445

Browse files
codebender828pi0
authored andcommitted
chore: skip snapshot test because they are obsolete on each run
1 parent 6eef15b commit 09e0445

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

test/__snapshots__/basic.test.ts.snap

Lines changed: 0 additions & 10 deletions
This file was deleted.

test/basic.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ describe('nust emotion ssr', async () => {
1010
expect(html).toContain('<style data-emotion')
1111
expect(html).toContain('<script data-emotion')
1212
expect(html).toContain('window.$emotionIds')
13-
expect(html).toMatchSnapshot()
13+
14+
// Removed because the nuxt build entries product difference SSR output
15+
// for each test run so it doesn't make sense to run snapshot tests.
16+
// expect(html).toMatchSnapshot()
1417
})
1518
})

0 commit comments

Comments
 (0)