update tests

pull/4283/head
Conduitry 6 years ago
parent 41963c0c59
commit 573e975f32

@ -103,7 +103,7 @@ class Component extends SvelteComponentDev {
});
const { ctx } = this.$$;
const props = options.props || ({});
const props = options.props || {};
if (/*name*/ ctx[0] === undefined && !("name" in props)) {
console.warn("<Component> was created without expected prop 'name'");

@ -210,7 +210,7 @@ class Component extends SvelteComponentDev {
});
const { ctx } = this.$$;
const props = options.props || ({});
const props = options.props || {};
if (/*things*/ ctx[0] === undefined && !("things" in props)) {
console.warn("<Component> was created without expected prop 'things'");

@ -198,7 +198,7 @@ class Component extends SvelteComponentDev {
});
const { ctx } = this.$$;
const props = options.props || ({});
const props = options.props || {};
if (/*things*/ ctx[0] === undefined && !("things" in props)) {
console.warn("<Component> was created without expected prop 'things'");

@ -107,7 +107,7 @@ class Component extends SvelteComponentDev {
});
const { ctx } = this.$$;
const props = options.props || ({});
const props = options.props || {};
if (/*foo*/ ctx[0] === undefined && !("foo" in props)) {
console.warn("<Component> was created without expected prop 'foo'");

Loading…
Cancel
Save