update tests

pull/2263/head
Conduitry 6 years ago
parent 5c9fa293a6
commit a8e59d7fd7

@ -40,6 +40,14 @@ class SvelteComponent extends SvelteComponent_1 {
super();
init(this, options, instance, create_fragment, safe_not_equal, ["x", "a", "b"]);
}
get a() {
return this.$$.ctx.a;
}
get b() {
return this.$$.ctx.b;
}
}
export default SvelteComponent;

@ -82,6 +82,14 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'name'");
}
}
get name() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set name(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
}
export default SvelteComponent;

@ -180,6 +180,38 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'baz'");
}
}
get things() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set things(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
get foo() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set foo(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
get bar() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set bar(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
get baz() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set baz(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
}
export default SvelteComponent;

@ -172,6 +172,22 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'foo'");
}
}
get things() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set things(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
get foo() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set foo(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
}
export default SvelteComponent;

@ -88,6 +88,14 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'foo'");
}
}
get foo() {
throw new Error("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
set foo(value) {
throw new Error("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
}
export default SvelteComponent;
Loading…
Cancel
Save