diff options
Diffstat (limited to 'packages/astro/test/0-css.test.js')
-rw-r--r-- | packages/astro/test/0-css.test.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/astro/test/0-css.test.js b/packages/astro/test/0-css.test.js index 1b1391f97..f6da42f23 100644 --- a/packages/astro/test/0-css.test.js +++ b/packages/astro/test/0-css.test.js @@ -364,13 +364,16 @@ describe('CSS', function () { let foundVitePreloadCSS = false; const bundledJS = await fixture.glob('**/*.?(m)js'); - for(const filename of bundledJS) { + for (const filename of bundledJS) { const content = await fixture.readFile(filename); - if(content.match(/ReactDynamic\..*\.css/)) { + if (content.match(/ReactDynamic\..*\.css/)) { foundVitePreloadCSS = filename; } } - expect(foundVitePreloadCSS).to.equal(false, 'Should not have found a preload for the dynamic CSS'); + expect(foundVitePreloadCSS).to.equal( + false, + 'Should not have found a preload for the dynamic CSS' + ); }); }); }); |