mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
8701cfee23
commit
0f3d4ae30b
1 changed files with 6 additions and 3 deletions
|
@ -26,9 +26,12 @@ describe("When Vite's preloadModule polyfill is used", async () => {
|
|||
|
||||
if (cssReferences === null) return;
|
||||
|
||||
const missingReferences = cssReferences.filter(ref => !filePaths.includes(ref));
|
||||
assert.equal(missingReferences.length, 0, `${filePath} contains a reference to a deleted css asset: ${missingReferences}`);
|
||||
|
||||
const missingReferences = cssReferences.filter((ref) => !filePaths.includes(ref));
|
||||
assert.equal(
|
||||
missingReferences.length,
|
||||
0,
|
||||
`${filePath} contains a reference to a deleted css asset: ${missingReferences}`
|
||||
);
|
||||
});
|
||||
|
||||
await Promise.all(expectations);
|
||||
|
|
Loading…
Reference in a new issue