mirror of https://github.com/sveltejs/svelte
16 lines
223 B
16 lines
223 B
8 years ago
|
export default {
|
||
|
data: {
|
||
|
foo: 42
|
||
|
},
|
||
|
|
||
|
html: `<div><p>foo: 42</p></div>`,
|
||
|
|
||
|
test ( assert, component, target ) {
|
||
|
component.set({
|
||
|
foo: 99
|
||
|
});
|
||
|
|
||
|
assert.equal( target.innerHTML, `<div><p>foo: 99</p></div>` );
|
||
|
}
|
||
|
};
|