mirror of https://github.com/sveltejs/svelte
Merge b21414a407
into 2df6ef07b6
commit
fdaf41f57d
@ -0,0 +1,9 @@
|
||||
export default {
|
||||
html: '',
|
||||
test: function ( assert, component, target, window ) {
|
||||
const SvelteComponent = window.SvelteComponent;
|
||||
|
||||
assert.equal(new SvelteComponent({}) instanceof SvelteComponent, true);
|
||||
assert.equal(SvelteComponent({}) instanceof SvelteComponent, true);
|
||||
}
|
||||
};
|
Loading…
Reference in new issue