mirror of https://github.com/sveltejs/svelte
failing test for #1413
parent
7ad374d8c2
commit
2aea2ea842
@ -0,0 +1,19 @@
|
||||
export default {
|
||||
data: {
|
||||
props: {
|
||||
a: 1,
|
||||
},
|
||||
},
|
||||
|
||||
html: ``,
|
||||
|
||||
test(assert, component, target) {
|
||||
component.set({
|
||||
props: {
|
||||
a: 2,
|
||||
},
|
||||
});
|
||||
|
||||
assert.htmlEqual(target.innerHTML, ``);
|
||||
},
|
||||
};
|
@ -0,0 +1 @@
|
||||
<svelte:component this={undefined} {...props} />
|
Loading…
Reference in new issue