mirror of https://github.com/sveltejs/svelte
failing test for #3285
parent
17beaa0a5d
commit
c36318dd02
@ -0,0 +1,10 @@
|
||||
export default {
|
||||
html: `
|
||||
JohnJill
|
||||
`,
|
||||
|
||||
test({ assert, component, target }) {
|
||||
component.names = component.names.reverse();
|
||||
assert.htmlEqual(target.innerHTML, `JillJohn`);
|
||||
}
|
||||
};
|
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
export let names = ['John', 'Jill'];
|
||||
</script>
|
||||
|
||||
{#each names as name (name)}
|
||||
{@html name}
|
||||
{/each}
|
||||
|
Loading…
Reference in new issue