diff --git a/test/js/samples/reactive-class-optimized/expected.js b/test/js/samples/reactive-class-optimized/expected.js index 293249fd62..c47a6e53a7 100644 --- a/test/js/samples/reactive-class-optimized/expected.js +++ b/test/js/samples/reactive-class-optimized/expected.js @@ -148,12 +148,7 @@ function instance($$self, $$props, $$invalidate) { reactiveConst.x += 1; } - $$self.$$.update = () => { - if ($$self.$$.dirty & /*reactiveModuleVar*/ 0) { - $: $$subscribe_reactiveDeclaration($$invalidate(1, reactiveDeclaration = reactiveModuleVar * 2)); - } - }; - + $: $$subscribe_reactiveDeclaration($$invalidate(1, reactiveDeclaration = reactiveModuleVar * 2)); return [reactiveConst, reactiveDeclaration, $reactiveStoreVal, $reactiveDeclaration]; } @@ -164,4 +159,4 @@ class Component extends SvelteComponent { } } -export default Component; +export default Component; \ No newline at end of file