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.
pull/4089/head
David A Kondrad 6 years ago
parent f6ba6f234f
commit 298a1e3877

@ -43,7 +43,7 @@ function instance($$self, $$props, $$invalidate) {
let $foo; let $foo;
const foo = writable(0); const foo = writable(0);
component_subscribe($$self, foo, value => $$invalidate(0, $foo = value)); component_subscribe($$self, foo, value => $$invalidate(0, $foo = value));
return [$foo]; return [$foo, foo];
} }
class Component extends SvelteComponent { class Component extends SvelteComponent {

Loading…
Cancel
Save