export default { test(assert, component, target) { const promise = Promise.resolve().then(() => { component.set({ answer: 42 }); }); component.set({ promise }); assert.htmlEqual(target.innerHTML, `

wait for it...

`); return promise .then(() => { assert.htmlEqual(target.innerHTML, `

the answer is 42!

`); }); } };