mirror of https://github.com/sveltejs/svelte
parent
e49183e91b
commit
906daf3514
@ -1,3 +1,7 @@
|
|||||||
export default {
|
export default {
|
||||||
html: '<p><slot>Hello</slot></p>'
|
html: '<p><slot>Hello</slot></p>',
|
||||||
|
|
||||||
|
test(assert, component) {
|
||||||
|
assert.htmlEqual(component.refs.nested.slots.default.innerHTML, 'Hello');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in new issue