mirror of https://github.com/sveltejs/svelte
Merge pull request #146 from sveltejs/pass-no-options
Make passing options to component optionalpull/7738/head
commit
704975d567
@ -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