test: convert set to array

This commit is contained in:
Daniel Roe 2024-09-13 12:47:22 +01:00
parent be622645e0
commit 38bed2bd8e
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -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'))) const files = new Set([...clientStats.files, ...clientStatsInlined.files].map(f => f.replace(/\..*\.js/, '.js')))
expect(files).toMatchInlineSnapshot(` expect([...files]).toMatchInlineSnapshot(`
[ [
"_nuxt/entry.js", "_nuxt/entry.js",
] ]