pull/15538/head
Rich Harris 4 months ago
parent 78e3405d88
commit 0cb475e32b

@ -24,7 +24,7 @@ import { HeadPayload, Payload } from './payload.js';
let parent = null;
/** @type {Set<string>} */
export let seen;
let seen;
/**
* @param {Payload} payload

@ -11,7 +11,6 @@ import { setup_html_equal } from '../html_equal.js';
import { raf } from '../animation-helpers.js';
import type { CompileOptions } from '#compiler';
import { suite_with_variants, type BaseTest } from '../suite.js';
import { seen } from '../../src/internal/server/dev.js';
type Assert = typeof import('vitest').assert & {
htmlEqual(a: string, b: string, description?: string): void;
@ -284,8 +283,6 @@ async function run_test_variant(
if (variant === 'hydrate' || variant === 'ssr') {
config.before_test?.();
// we need to clear the seen messages between tests
seen?.clear?.();
// ssr into target
const SsrSvelteComponent = (await import(`${cwd}/_output/server/main.svelte.js`)).default;
const { html, head } = render(SsrSvelteComponent, {

Loading…
Cancel
Save