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

10 lines
284 B

export default {
html: '<div>00</div>',
async test({ assert, component, target, window }) {
const div = target.querySelector('div');
component.anotherValue = 2;
assert.htmlEqual(target.innerHTML, '<div>02</div>');
assert.strictEqual(div, target.querySelector('div'));
}
};