mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
test: convert set to array
This commit is contained in:
parent
be622645e0
commit
38bed2bd8e
@ -26,7 +26,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
|
||||
|
||||
const files = new Set([...clientStats.files, ...clientStatsInlined.files].map(f => f.replace(/\..*\.js/, '.js')))
|
||||
|
||||
expect(files).toMatchInlineSnapshot(`
|
||||
expect([...files]).toMatchInlineSnapshot(`
|
||||
[
|
||||
"_nuxt/entry.js",
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user