|
|
|
@ -406,7 +406,7 @@ async function run_test_variant(
|
|
|
|
const run_hydratables_init = () => {
|
|
|
|
const run_hydratables_init = () => {
|
|
|
|
if (variant !== 'hydrate') return;
|
|
|
|
if (variant !== 'hydrate') return;
|
|
|
|
const script = [...document.head.querySelectorAll('script').values()].find((script) =>
|
|
|
|
const script = [...document.head.querySelectorAll('script').values()].find((script) =>
|
|
|
|
script.textContent.includes('(window.__svelte ??= {}).h')
|
|
|
|
script.textContent?.includes('(window.__svelte ??= {}).h')
|
|
|
|
)?.textContent;
|
|
|
|
)?.textContent;
|
|
|
|
if (!script) return;
|
|
|
|
if (!script) return;
|
|
|
|
(0, eval)(script);
|
|
|
|
(0, eval)(script);
|
|
|
|
|