export default {
html: '
0
0
',
async test({ assert, component, target, window }) {
let [div1, div2] = target.querySelectorAll('div');
component.value = 5;
assert.htmlEqual(target.innerHTML, '5
0
');
assert.notStrictEqual(div1, target.querySelectorAll('div')[0]);
assert.strictEqual(div2, target.querySelectorAll('div')[1]);
[div1, div2] = target.querySelectorAll('div');
component.reactive = 10;
assert.htmlEqual(target.innerHTML, '5
10
');
assert.strictEqual(div1, target.querySelectorAll('div')[0]);
assert.strictEqual(div2, target.querySelectorAll('div')[1]);
}
};