mirror of https://github.com/sveltejs/svelte
parent
923b086215
commit
9fed6f0a21
@ -1,6 +1,7 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
skip: true, // TODO it appears there might be an actual bug here; the promise isn't ever actually awaited in spite of being awaited in the component
|
||||
mode: ['async'],
|
||||
error: 'lifecycle_outside_component'
|
||||
});
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
skip: true, // TODO: This test actually works, but the error message is printed, not thrown, so we need to have a way to test for that
|
||||
compileOptions: {
|
||||
dev: true
|
||||
},
|
||||
|
||||
error:
|
||||
'node_invalid_placement_ssr: `<p>` (packages/svelte/tests/server-side-rendering/samples/invalid-nested-svelte-element/main.svelte:2:1) cannot be a child of `<p>` (packages/svelte/tests/server-side-rendering/samples/invalid-nested-svelte-element/main.svelte:1:0)\n\nThis can cause content to shift around as the browser repairs the HTML, and will likely result in a `hydration_mismatch` warning.'
|
||||
});
|
||||
|
||||
Loading…
Reference in new issue