0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] format

This commit is contained in:
Bjorn Lu 2024-02-07 12:44:35 +00:00 committed by astrobot-houston
parent 436841e97e
commit 7596f0cd3b
2 changed files with 2 additions and 6 deletions

View file

@ -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\}/);
});
});
});

View file

@ -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;
}
}