mirror of https://github.com/sveltejs/svelte
parent
ecf05ad36e
commit
b21414a407
@ -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