update test again

pull/4454/head
Conduitry 6 years ago
parent be91c7dd55
commit 4717e7a405

@ -134,10 +134,20 @@ function create_fragment(ctx) {
return block;
}
function instance($$self, $$props) {
const writable_props = [];
Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<Component> was created with unknown prop '${key}'`);
});
return [];
}
class Component extends SvelteComponentDev {
constructor(options) {
super(options);
init(this, options, null, create_fragment, safe_not_equal, {});
init(this, options, instance, create_fragment, safe_not_equal, {});
dispatch_dev("SvelteRegisterComponent", {
component: this,

Loading…
Cancel
Save