diff --git a/packages/astro/test/config-vite-css-target.test.js b/packages/astro/test/config-vite-css-target.test.js index 52e6d4c7f2..b0cac084fe 100644 --- a/packages/astro/test/config-vite-css-target.test.js +++ b/packages/astro/test/config-vite-css-target.test.js @@ -35,9 +35,7 @@ describe('CSS', function () { }); it('vite.build.cssTarget is respected', async () => { - expect(bundledCSS).to.match( - /\.class\[data-astro-[^{]*\{top:0;right:0;bottom:0;left:0\}/ - ); + expect(bundledCSS).to.match(/\.class\[data-astro-[^{]*\{top:0;right:0;bottom:0;left:0\}/); }); }); }); diff --git a/packages/astro/test/static-build.test.js b/packages/astro/test/static-build.test.js index 79aff0ef0f..1d39ed2495 100644 --- a/packages/astro/test/static-build.test.js +++ b/packages/astro/test/static-build.test.js @@ -185,9 +185,7 @@ describe('Static build', () => { it('warns when accessing headers', async () => { let found = false; for (const log of logs) { - if ( - /`Astro\.request\.headers` is not available in "static" output mode/.test(log.message) - ) { + if (/`Astro\.request\.headers` is not available in "static" output mode/.test(log.message)) { found = true; } }