You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/await-set-simultaneous-reac.../_config.js

13 lines
259 B

export default {
html: `<p>wait for it...</p>`,
test({ assert, component, target }) {
return component.promise
.then(() => {
assert.htmlEqual(target.innerHTML, `
<p>the answer is 42!</p>
<p>the answer100 is 4200!</p>
`);
});
}
};