let fulfil;
let thePromise = new Promise(f => {
	fulfil = f;
});
export default {
	props: {
		thePromise
	},
	html: `
		
		
the promise is pending
`, async test({ assert, component, target }) { fulfil(42); await thePromise; assert.htmlEqual(target.innerHTML, 'the promise is pending
`); reject(new Error()); await thePromise.catch(() => {}); assert.htmlEqual(target.innerHTML, `oh no! Something broke!
oh no! Something broke!
`); } };