export default {
html: '
1
',
async test({ assert, component, target, window }) {
let div = target.querySelector('div');
await component.append(2);
assert.htmlEqual(target.innerHTML, '1,2
');
assert.notStrictEqual(div, target.querySelector('div'));
div = target.querySelector('div');
component.array = [3, 4];
assert.htmlEqual(target.innerHTML, '3,4
');
assert.notStrictEqual(div, target.querySelector('div'));
}
};