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