From 96ff125fcfa8d60af978e01e300224386d86ef01 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 14 Jul 2025 21:38:53 -0400 Subject: [PATCH] chore: fix error boundary test (#16368) --- .../runtime-runes/samples/error-boundary-9/_config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/svelte/tests/runtime-runes/samples/error-boundary-9/_config.js b/packages/svelte/tests/runtime-runes/samples/error-boundary-9/_config.js index 9bb12e768d..9664c233b7 100644 --- a/packages/svelte/tests/runtime-runes/samples/error-boundary-9/_config.js +++ b/packages/svelte/tests/runtime-runes/samples/error-boundary-9/_config.js @@ -1,13 +1,7 @@ import { test } from '../../test'; export default test({ - test({ assert, target, logs, warnings, variant }) { - if (variant === 'hydrate') { - assert.deepEqual(warnings, [ - 'Hydration failed because the initial UI does not match what was rendered on the server' - ]); - } - + test({ assert, target, logs }) { assert.deepEqual(logs, ['error caught']); assert.htmlEqual(target.innerHTML, `
Error!
`); }