mirror of https://github.com/sveltejs/svelte
parent
bb83eddfc6
commit
f571435081
@ -0,0 +1,13 @@
|
|||||||
|
export default {
|
||||||
|
html: `
|
||||||
|
<div>
|
||||||
|
<p></p>
|
||||||
|
</div>
|
||||||
|
`,
|
||||||
|
|
||||||
|
test({ assert, target }) {
|
||||||
|
const p = target.querySelector('p');
|
||||||
|
|
||||||
|
assert.notEqual(p, undefined);
|
||||||
|
}
|
||||||
|
};
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
<div>
|
||||||
|
<svelte:element this="p" />
|
||||||
|
</div>
|
||||||
Loading…
Reference in new issue