export default { html: '
0
', async test({ assert, component, target, window, raf }) { component.value = 2; const [div1, div2] = target.querySelectorAll('div'); assert.htmlEqual(div1.outerHTML, '
0
'); assert.htmlEqual(div2.outerHTML, '
2
'); raf.tick(0); assert.equal(div1.foo, 1); assert.equal(div1.oof, 0); assert.equal(div2.foo, 0); assert.equal(div2.oof, 1); raf.tick(200); assert.htmlEqual(target.innerHTML, '
2
'); assert.equal(div2, target.querySelector('div')); } };