Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored and astrobot-houston committed Feb 15, 2024
1 parent 8701cfe commit 0f3d4ae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/astro/test/css-dangling-references.nodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0f3d4ae

Please sign in to comment.