mirror of https://github.com/sveltejs/svelte
correctly update yield fragment inside each, #230
parent
f5ebc85e53
commit
20e1b05c45
@ -1,3 +1,10 @@
|
|||||||
export default {
|
export default {
|
||||||
html: '<p>Hello Alice</p><p>Hello Bob</p><p>Hello Charles</p>'
|
html: '<p>Hello Alice</p><p>Hello Bob</p><p>Hello Charles</p>',
|
||||||
|
|
||||||
|
test ( assert, component, target ) {
|
||||||
|
component.set({
|
||||||
|
people: [ 'Alice', 'Charles', 'Bob' ]
|
||||||
|
});
|
||||||
|
assert.htmlEqual( target.innerHTML, `<p>Hello Alice</p><p>Hello Charles</p><p>Hello Bob</p>` );
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in new issue