mirror of https://github.com/sveltejs/svelte
Merge pull request #146 from sveltejs/pass-no-options
Make passing options to component optionalpull/120/merge
commit
fd43dfc6d6
@ -0,0 +1,7 @@
|
|||||||
|
export default {
|
||||||
|
html: '<h1>Just some static HTML</h1>',
|
||||||
|
test: function ( assert, component, target, window ) {
|
||||||
|
const newComp = new window.SvelteComponent();
|
||||||
|
assert.equal(newComp instanceof window.SvelteComponent, true);
|
||||||
|
}
|
||||||
|
};
|
@ -0,0 +1 @@
|
|||||||
|
<h1>Just some static HTML</h1>
|
Loading…
Reference in new issue