0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-06-04 14:53:38 +00:00 committed by astrobot-houston
parent ba20c718a4
commit bf013cb3db
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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.'
);