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/reactive-value-coerce/_config.js

11 lines
219 B

export default {
html: '1-1',
test: ({ assert, component, target }) => {
component.a.b[0] = 2;
5 years ago
component.a = component.a; // eslint-disable-line no-self-assign
assert.htmlEqual(target.innerHTML, '2-2');
}
};