export default {
html: '
3
',
async test({ assert, component, target }) {
const div = target.querySelector('div');
await component.mutate();
assert.htmlEqual(target.innerHTML, '5
');
assert.strictEqual(div, target.querySelector('div'));
await component.reassign();
assert.htmlEqual(target.innerHTML, '7
');
assert.strictEqual(div, target.querySelector('div'));
await component.changeKey();
assert.htmlEqual(target.innerHTML, '7
');
assert.notStrictEqual(div, target.querySelector('div'));
}
};