From 7596f0cd3b44b28a8fa0b1660bb9056de6930ad4 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Wed, 7 Feb 2024 12:44:35 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/config-vite-css-target.test.js | 4 +--- packages/astro/test/static-build.test.js | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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; } }