mirror of https://github.com/sveltejs/svelte
Fix #14807: Navigation - The NEXT button in the SvelteKit documentation
parent
69e6c4cdbb
commit
5b5907e610
@ -0,0 +1,12 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
// Simulates Google Translate (and similar browser translation tools) wrapping
|
||||
// text content in <font> elements, which was causing hydration to fail and
|
||||
// blank the page. See https://github.com/sveltejs/svelte/issues/14807
|
||||
export default test({
|
||||
props: {
|
||||
name: 'world'
|
||||
},
|
||||
|
||||
expect_hydration_error: true
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
export let name;
|
||||
</script>
|
||||
|
||||
<h1>Hello {name}!</h1>
|
||||
Loading…
Reference in new issue