mirror of https://github.com/sveltejs/svelte
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.
24 lines
332 B
24 lines
332 B
5 years ago
|
export default {
|
||
|
async test({ assert, component, 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>
|
||
|
`
|
||
|
);
|
||
|
}
|
||
|
};
|