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.
svelte/test/runtime/samples/component-data-dynamic-shor.../_config.js

18 lines
248 B

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>` );
component.teardown();
}
};