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

42

true

`); }); } };