From 298a1e387708e2f12b5786a9f25530b79731a596 Mon Sep 17 00:00:00 2001 From: David A Kondrad Date: Tue, 10 Dec 2019 15:43:14 -0500 Subject: [PATCH] tests: component-store-access-invalidate: add foo to context Update test case to put it back to the way it was before bitmask commits. Note the order of names is different; however, the code does the right thing. --- test/js/samples/component-store-access-invalidate/expected.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/js/samples/component-store-access-invalidate/expected.js b/test/js/samples/component-store-access-invalidate/expected.js index 151bd6ed0e..4c7bfd7009 100644 --- a/test/js/samples/component-store-access-invalidate/expected.js +++ b/test/js/samples/component-store-access-invalidate/expected.js @@ -43,7 +43,7 @@ function instance($$self, $$props, $$invalidate) { let $foo; const foo = writable(0); component_subscribe($$self, foo, value => $$invalidate(0, $foo = value)); - return [$foo]; + return [$foo, foo]; } class Component extends SvelteComponent {