mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
[ci] format
This commit is contained in:
parent
436841e97e
commit
7596f0cd3b
2 changed files with 2 additions and 6 deletions
|
@ -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\}/);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue