diff options
author | 2024-06-04 14:53:38 +0000 | |
---|---|---|
committer | 2024-06-04 14:53:38 +0000 | |
commit | bf013cb3db4267a214dadfbc741032b7c68a549a (patch) | |
tree | ee543b68657d5d1bcb6c1f0ee0d3c4f392792ad2 | |
parent | ba20c718a4ccd1009bdf81f8265956bff1d19d05 (diff) | |
download | astro-bf013cb3db4267a214dadfbc741032b7c68a549a.tar.gz astro-bf013cb3db4267a214dadfbc741032b7c68a549a.tar.zst astro-bf013cb3db4267a214dadfbc741032b7c68a549a.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/build/plugins/plugin-content.ts | 2 | ||||
-rw-r--r-- | packages/astro/test/experimental-content-collections-render.test.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/astro/src/core/build/plugins/plugin-content.ts b/packages/astro/src/core/build/plugins/plugin-content.ts index 1698eb2a0..3f0da0d5f 100644 --- a/packages/astro/src/core/build/plugins/plugin-content.ts +++ b/packages/astro/src/core/build/plugins/plugin-content.ts @@ -255,7 +255,7 @@ function vitePluginContent( ...oldManifest.clientEntries, ...internals.discoveredHydratedComponents.keys(), ...internals.discoveredClientOnlyComponents.keys(), - ...internals.discoveredScripts + ...internals.discoveredScripts, ]); // Likewise, these are server modules that might not be referenced // once the cached items are excluded from the build process diff --git a/packages/astro/test/experimental-content-collections-render.test.js b/packages/astro/test/experimental-content-collections-render.test.js index e5d152f41..0de3cbc34 100644 --- a/packages/astro/test/experimental-content-collections-render.test.js +++ b/packages/astro/test/experimental-content-collections-render.test.js @@ -146,7 +146,9 @@ if (!isWindows) { // Includes hoisted script assert.notEqual( - [...allScripts].find((script) => $(script).attr('src')?.includes('/_astro/WithScripts')), + [...allScripts].find((script) => + $(script).attr('src')?.includes('/_astro/WithScripts') + ), undefined, 'hoisted script missing from head.' ); |