import { computed, pattern, TESTS, UI, Writable } from "commonfabric"; export const readBudgets = { initialization: { total: 0 } }; export default pattern(() => { const value = Writable.of({ count: 1 }); return { [UI]: {computed(() => value.get().count)}, [TESTS]: [{ render: {} }], }; });