let unsubscribeCalled = false; const fakeStore = (val) => ({ subscribe: (cb) => { cb(val); return { unsubscribe: () => { unsubscribeCalled = true; } }; } }); export default { props: { foo: fakeStore(1) }, html: `