|
|
@ -11,6 +11,7 @@ import { setup_html_equal } from '../html_equal.js';
|
|
|
|
import { raf } from '../animation-helpers.js';
|
|
|
|
import { raf } from '../animation-helpers.js';
|
|
|
|
import type { CompileOptions } from '#compiler';
|
|
|
|
import type { CompileOptions } from '#compiler';
|
|
|
|
import { suite_with_variants, type BaseTest } from '../suite.js';
|
|
|
|
import { suite_with_variants, type BaseTest } from '../suite.js';
|
|
|
|
|
|
|
|
import { reset_props_id } from '../../src/internal/client/dom/template.js';
|
|
|
|
|
|
|
|
|
|
|
|
type Assert = typeof import('vitest').assert & {
|
|
|
|
type Assert = typeof import('vitest').assert & {
|
|
|
|
htmlEqual(a: string, b: string, description?: string): void;
|
|
|
|
htmlEqual(a: string, b: string, description?: string): void;
|
|
|
@ -345,6 +346,7 @@ async function run_test_variant(
|
|
|
|
|
|
|
|
|
|
|
|
if (runes) {
|
|
|
|
if (runes) {
|
|
|
|
props = proxy({ ...(config.props || {}) });
|
|
|
|
props = proxy({ ...(config.props || {}) });
|
|
|
|
|
|
|
|
reset_props_id();
|
|
|
|
if (manual_hydrate) {
|
|
|
|
if (manual_hydrate) {
|
|
|
|
hydrate_fn = () => {
|
|
|
|
hydrate_fn = () => {
|
|
|
|
instance = hydrate(mod.default, {
|
|
|
|
instance = hydrate(mod.default, {
|
|
|
|