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.
20 lines
209 B
20 lines
209 B
6 years ago
|
export default {
|
||
|
props: {
|
||
|
a: 1,
|
||
|
b: 2,
|
||
|
c: 3,
|
||
|
d: 4
|
||
|
},
|
||
|
|
||
|
html: `
|
||
|
<p>4</p>
|
||
|
`,
|
||
|
|
||
|
test({ assert, component, target }) {
|
||
|
component.d = 5;
|
||
|
|
||
|
assert.htmlEqual(target.innerHTML, `
|
||
|
<p>5</p>
|
||
|
`);
|
||
|
}
|
||
|
};
|