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/key-block-3/_config.js

12 lines
312 B

// key is not used in the template
export default {
html: '<div></div>',
async test({ assert, component, target, window }) {
const div = target.querySelector('div');
component.value = 5;
assert.htmlEqual(target.innerHTML, '<div></div>');
assert.notStrictEqual(div, target.querySelector('div'));
}
};