Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Feb 7, 2024
1 parent 436841e commit 7596f0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/astro/test/config-vite-css-target.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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\}/);
});
});
});
4 changes: 1 addition & 3 deletions packages/astro/test/static-build.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 7596f0c

Please sign in to comment.