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-then-destruct-default/_config.js

24 lines
321 B

export default {
async test({ assert, target }) {
await Promise.resolve();
assert.htmlEqual(
target.innerHTML,
`
<p>a: 3</p>
<p>b: 2</p>
<p>c: 3</p>
<p>a: 1</p>
<p>b: 2</p>
<p>c: 3</p>
<p>a: 3</p>
<p>b: 2</p>
<p>c: 3</p>
<p>a: 1</p>
<p>b: 2</p>
<p>c: 3</p>
`
);
}
};