You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/svelte/tests/runtime-runes/samples/async-error-boundary-5/_config.js

15 lines
365 B

import { tick } from 'svelte';
import { test } from '../../test';
export default test({
mode: ['hydrate'],
server_props: { environment: 'server' },
props: { environment: 'client' },
ssrHtml: 'loading inner loading nested',
async test({ assert, target }) {
await tick();
assert.htmlEqual(target.innerHTML, 'inner failed: oops outer failed: oops');
}
});