diff --git a/packages/astro/test/css-dangling-references.nodetest.js b/packages/astro/test/css-dangling-references.nodetest.js index 1155e4f6ae4f..58e01d85c7ef 100644 --- a/packages/astro/test/css-dangling-references.nodetest.js +++ b/packages/astro/test/css-dangling-references.nodetest.js @@ -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);