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') {
config.before_test?.();
// ssr into target
const SsrSvelteComponent = (
await import(`${cwd}/_output/server/main.svelte.js`).catch((e) => if(cwd.includes("transition-js-await-block")){ console.log(e.stack)})
).default;
const SsrSvelteComponent = (await import(`${cwd}/_output/server/main.svelte.js`)).default;
const { html, head } = render(SsrSvelteComponent, {
props: config.server_props ?? config.props ?? {}
});

Loading…
Cancel
Save