fix: remove log

hydratable-flag
paoloricciuti 1 month ago
parent 1ff56e2542
commit 2e033f6e3f

@ -272,9 +272,7 @@ async function run_test_variant(
if (variant === 'hydrate' || variant === 'ssr') { if (variant === 'hydrate' || variant === 'ssr') {
config.before_test?.(); config.before_test?.();
// ssr into target // ssr into target
const SsrSvelteComponent = ( const SsrSvelteComponent = (await import(`${cwd}/_output/server/main.svelte.js`)).default;
await import(`${cwd}/_output/server/main.svelte.js`).catch((e) => if(cwd.includes("transition-js-await-block")){ console.log(e.stack)})
).default;
const { html, head } = render(SsrSvelteComponent, { const { html, head } = render(SsrSvelteComponent, {
props: config.server_props ?? config.props ?? {} props: config.server_props ?? config.props ?? {}
}); });

Loading…
Cancel
Save