mirror of https://github.com/sveltejs/svelte
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.
21 lines
277 B
21 lines
277 B
7 years ago
|
export default {
|
||
6 years ago
|
skip_if_ssr: true,
|
||
7 years ago
|
|
||
6 years ago
|
props: {
|
||
7 years ago
|
value: 'hello!'
|
||
|
},
|
||
|
|
||
|
html: `
|
||
|
<p>hello!</p>
|
||
|
<p>hello!</p>
|
||
|
`,
|
||
|
|
||
6 years ago
|
test({ assert, component, target }) {
|
||
|
component.value = 'goodbye!';
|
||
7 years ago
|
assert.htmlEqual(target.innerHTML, `
|
||
|
<p>goodbye!</p>
|
||
|
<p>goodbye!</p>
|
||
|
`);
|
||
|
}
|
||
|
};
|