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/inline-expressions/_config.js

13 lines
212 B

export default {
props: {
a: 1,
b: 2
},
html: '<p>1 + 2 = 3</p>',
test({ assert, component, target }) {
component.a = 3;
component.b = 4;
assert.equal( target.innerHTML, '<p>3 + 4 = 7</p>' );
}
};