mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
ba20c718a4
commit
bf013cb3db
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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.'
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue