Open source personal finance application
chore: fix typo
ilkome4619aee5a067
diff --git a/components/chart/useChart.ts b/components/chart/useChart.tsindex 4acd6990..1042097a 100644--- a/components/chart/useChart.ts+++ b/components/chart/useChart.ts@@ -13,8 +13,8 @@ export default function useChart() {isShowDataLabels.value = false}- function toogleChartsView() {- $store.commit('chart/toogleChartPeriodView', {+ function toggleChartsView() {+ $store.commit('chart/toggleChartPeriodView', {periodName: filterPeriodNameAllReplacedToYear.value,})$store.dispatch('ui/saveUiView')@@ -23,7 +23,7 @@ export default function useChart() {return {isShowDataLabels,- toogleChartsView,+ toggleChartsView,showDataLabels,hideDataLabels,}diff --git a/components/layout/Sidebar.vue b/components/layout/Sidebar.vueindex 2c48728f..da36c019 100644--- a/components/layout/Sidebar.vue+++ b/components/layout/Sidebar.vue@@ -33,7 +33,7 @@ function setWalletFilter(walletId: WalletID) {.pb-12WalletsList(:limit="6"- isShowToogle+ isShowToggle@onClick="id => $router.push(`/wallets/${id}`)")template(#default="{ walletsItemsLimited }")@@ -61,9 +61,9 @@ function setWalletFilter(walletId: WalletID) {:isShowSign="false")- template(#toogle="{ stateLimit, limit, toogle }")+ template(#toggle="{ stateLimit, limit, toggle }").cursor-pointer.py-3.px-3.text-xs.text-center.hocus_text-skin-item-base-up.hocus_bg-skin-item-main-hover(- @click="toogle"+ @click="toggle")template(v-if="stateLimit > 0") {{ $t('wallets.showAll') }}template(v-else-if="stateLimit !== limit") {{ $t('wallets.showOnly') }} {{ limit }}diff --git a/components/shared/Date.vue b/components/shared/Date.vueindex 20cdb144..342d743d 100644--- a/components/shared/Date.vue+++ b/components/shared/Date.vue@@ -8,7 +8,7 @@ const props = defineProps<{const { nuxt2Context: { i18n } } = useNuxtApp()-const formatedDate = computed(() => {+const formattedDate = computed(() => {const today = dayjs()const filterDate = props.dateconst filterPeriod = props.period@@ -54,5 +54,5 @@ const formatedDate = computed(() => {<template lang="pug">divtemplate(v-if="period === 'all'") {{ $t('dates.all.simple') }}- template(v-if="period !== 'all'") {{ formatedDate }}+ template(v-if="period !== 'all'") {{ formattedDate }}</template>diff --git a/components/shared/dropdown/Dropdown.vue b/components/shared/dropdown/Dropdown.vueindex 95f9db52..0d459a06 100644--- a/components/shared/dropdown/Dropdown.vue+++ b/components/shared/dropdown/Dropdown.vue@@ -23,7 +23,7 @@ export default {.dropdown__titletemplate(v-if="$slots.title"): slot(name="title")template(v-else) {{ title }}- .dropdown__toogle: .mdi.mdi-dots-vertical+ .dropdown__toggle: .mdi.mdi-dots-vertical</template><style lang="stylus" scoped>@@ -88,7 +88,7 @@ export default {flex-grow 1white-space nowrap- &__toogle+ &__toggleopacity .8justify-content centerwidth 2pxdiff --git a/components/stat/ChartConfig.vue b/components/stat/ChartConfig.vueindex 2adf665e..8b56e2c0 100644--- a/components/stat/ChartConfig.vue+++ b/components/stat/ChartConfig.vue@@ -6,33 +6,33 @@ import useUIView from '~/components/layout/useUIView'import useStatChart from '~/components/stat/useStatChart'const { $store } = useNuxtApp()-const { chartState, toogleChart } = useStatChart()+const { chartState, toggleChart } = useStatChart()const { ui, setUI } = useUIView()-function toogleView(name) {+function toggleView(name) {setUI({ name, value: !ui[name] })}const { isEmptyStat } = useStat()const periods = computed(() => $store.state.chart.periods)const { filterPeriodNameAllReplacedToYear } = useFilter()-const { isShowDataLabels, toogleChartsView } = useChart()+const { isShowDataLabels, toggleChartsView } = useChart()</script><template lang="pug">.flex-center(v-if="!isEmptyStat").cursor-pointer.w-10.py-2.px-3.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': chartState.show.incomes }"- @click="toogleChart('incomes')"+ @click="toggleChart('incomes')"): .mdi.mdi-arrow-down-thin-circle-outline.cursor-pointer.w-10.py-2.px-3.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': chartState.show.expenses }"- @click="toogleChart('expenses')"+ @click="toggleChart('expenses')"): .mdi.mdi-arrow-up-thin-circle-outline.cursor-pointer.w-10.py-2.px-3.flex-center.rounded-md.hocus_bg-skin-item-main-hover(- @click="toogleChartsView"+ @click="toggleChartsView").mdi.mdi-chart-line(v-if="periods[filterPeriodNameAllReplacedToYear].grouped").mdi.mdi-chart-bar(v-if="!periods[filterPeriodNameAllReplacedToYear].grouped")diff --git a/components/stat/StatItem.vue b/components/stat/StatItem.vueindex 7056b8a3..f00f4c68 100644--- a/components/stat/StatItem.vue+++ b/components/stat/StatItem.vue@@ -64,7 +64,7 @@ export default {},methods: {- toogleShowInside() {+ toggleShowInside() {this.isShowInside = !this.isShowInside},},@@ -74,7 +74,7 @@ export default {<template lang="pug">.statItem(:class="{ _active: isShowInside }"- @click="toogleShowInside"+ @click="toggleShowInside").ins.py-2.px-3.space-x-3.rounded-md.justify-between.items-center.flex.border.dark_border-neutral-800.bg-skin-item-main-bg.hocus_bg-skin-item-main-hover(:class="['z-[9]', { _active: isShowInside }, { 'cursor-n-resize shadow-xl rounded-b-none': isShowInside }, { 'cursor-s-resize shadow-sm': !isShowInside }]"diff --git a/components/stat/StatItemChildCatsItem.vue b/components/stat/StatItemChildCatsItem.vueindex e0b89cf6..4df51844 100644--- a/components/stat/StatItemChildCatsItem.vue+++ b/components/stat/StatItemChildCatsItem.vue@@ -34,7 +34,7 @@ export default {},methods: {- toogleShowInside() {+ toggleShowInside() {this.isShowInside = !this.isShowInside},},@@ -44,7 +44,7 @@ export default {<template lang="pug">.statItem(:class="{ _active: isShowInside }"- @click="toogleShowInside"+ @click="toggleShowInside").ins.py-2.px-3.space-x-3.justify-between.items-center.flex.border-t(:class="[{ _active: isShowInside }, { 'border-b-0 cursor-n-resize': isShowInside }, { 'cursor-s-resize': !isShowInside }, 'dark_border-neutral-800']"diff --git a/components/stat/ViewConfig.vue b/components/stat/ViewConfig.vueindex 08db22f0..726e9f3d 100644--- a/components/stat/ViewConfig.vue+++ b/components/stat/ViewConfig.vue@@ -2,7 +2,7 @@import useUIView from '~/components/layout/useUIView'const { ui, setUI } = useUIView()-function toogleView(name) {+function toggleView(name) {setUI({ name, value: !ui[name] })}</script>@@ -11,21 +11,21 @@ function toogleView(name) {.flex.bg-skin-item-main-bg.rounded-md.cursor-pointer.w-10.py-2.px-2.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': ui.showPieChart }"- @click="toogleView('showPieChart')"+ @click="toggleView('showPieChart')"): .mdi.mdi-chart-pie.cursor-pointer.w-10.py-2.px-2.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': ui.showCatsVerticalChart }"- @click="toogleView('showCatsVerticalChart')"+ @click="toggleView('showCatsVerticalChart')"): .mdi.mdi-poll.cursor-pointer.w-10.py-2.px-2.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': ui.showRoundCats }"- @click="toogleView('showRoundCats')"+ @click="toggleView('showRoundCats')"): .mdi.mdi-chart-bubble.cursor-pointer.w-10.py-2.px-2.flex-center.rounded-md.hocus_bg-skin-item-main-hover(:class="{ 'text-skin-item-base-up': ui.showCatsHorizontalList }"- @click="toogleView('showCatsHorizontalList')"+ @click="toggleView('showCatsHorizontalList')"): .mdi.mdi-chart-timeline</template>diff --git a/components/stat/useStatChart.ts b/components/stat/useStatChart.tsindex 25593afc..bf6e46cd 100644--- a/components/stat/useStatChart.ts+++ b/components/stat/useStatChart.ts@@ -15,7 +15,7 @@ export default function useStatChart() {state.show[type] = value}- function toogle(type: MoneyType): void {+ function toggle(type: MoneyType): void {state.show[type] = !state.show[type]}@@ -40,7 +40,7 @@ export default function useStatChart() {return {chartState: state,- toogleChart: toogle,+ toggleChart: toggle,onWatch,}}diff --git a/components/trnForm/Date.vue b/components/trnForm/Date.vueindex ea529d7a..22aa34ae 100644--- a/components/trnForm/Date.vue+++ b/components/trnForm/Date.vue@@ -3,7 +3,7 @@ import { formatDate } from '~/utils/formatDate'export default {computed: {- formatedDate() {+ formattedDate() {const date = formatDate(this.$store.state.trnForm.values.date, 'full')return `${date.weekday} <br/> ${date.day} ${date.month}`},@@ -37,7 +37,7 @@ export default {): .mdi.mdi-chevron-left.cursor-pointer.py-2.px-3.flex-center.rounded-md.text-center.text-sm.leading-none.hocus_bg-skin-item-main-hover(- v-html="formatedDate"+ v-html="formattedDate"@click="$store.commit('trnForm/showTrnFormModal', 'calendar')")diff --git a/components/trnForm/SelectedTransfer.vue b/components/trnForm/SelectedTransfer.vueindex 6f3d267b..ccce6edd 100644--- a/components/trnForm/SelectedTransfer.vue+++ b/components/trnForm/SelectedTransfer.vue@@ -30,12 +30,11 @@ if ($store.state.trnForm.values.amountType === 2) {const isSameCurency = computed(() => incomeWallet.value?.currency === expenseWallet.value?.currency)-function changeAmount(tranferType: 'income' | 'expense', event: any) {+function changeAmount(TransferType: 'income' | 'expense', event: any) {$store.commit('trnForm/setTrnFormValues', {- [`${tranferType}Amount`]: Number(event.target.value),+ [`${TransferType}Amount`]: Number(event.target.value),})}-</script><template lang="pug">diff --git a/components/trnForm/calculator/useCalculator.ts b/components/trnForm/calculator/useCalculator.tsindex a495197f..7faf6007 100644--- a/components/trnForm/calculator/useCalculator.ts+++ b/components/trnForm/calculator/useCalculator.ts@@ -20,7 +20,7 @@ export default function useCalculator() {}/**- * Set formated expression+ * Set formatted expression** @param {string} value*/@@ -183,13 +183,13 @@ export default function useCalculator() {* @return {string} expression string*/function formatInput(value: string, isTrimFloatSpaces?: boolean): string {- const formatedArray = separateExpression(String(value))+ const formattedArray = separateExpression(String(value)).map((item) => {- let formatedItem = ''+ let formattedItem = ''const isAction = item.match(/[/*\-+]/g)if (isAction) {- formatedItem = ` ${item} `+ formattedItem = ` ${item} `}else {let clearedValue = removeSpaces(String(item))@@ -202,15 +202,15 @@ export default function useCalculator() {const isInteger = splitFloatValue.length === 1if (isInteger)- formatedItem = baseAmountFormat(item, separator.value)+ formattedItem = baseAmountFormat(item, separator.value)else- formatedItem = `${baseAmountFormat(splitFloatValue[0], separator.value)}.${splitFloatValue[1]}`+ formattedItem = `${baseAmountFormat(splitFloatValue[0], separator.value)}.${splitFloatValue[1]}`}- return formatedItem+ return formattedItem})- return formatedArray.join('')+ return formattedArray.join('')}function clearExpression(): void {@@ -242,7 +242,7 @@ export default function useCalculator() {const result = makeCalculation(getExpression.value)return Number(result)})- const getFormatedResult = computed(() => { return formatInput(expression.value) })+ const getformattedResult = computed(() => { return formatInput(expression.value) })const isSum = computed(() => String(getResult.value) === removeSpaces(expression.value))return {@@ -250,7 +250,7 @@ export default function useCalculator() {formatInput,isSum,getExpression,- getFormatedResult,+ getformattedResult,setExpression,getResult,isKeysActive,diff --git a/components/trns/getTotal.ts b/components/trns/getTotal.tsindex 03fbbb8b..beb1020d 100644--- a/components/trns/getTotal.ts+++ b/components/trns/getTotal.ts@@ -41,9 +41,9 @@ export function getTotal({walletsIds?: WalletID[]walletsItems: Record<WalletID, WalletItem>}) {- // TODO: rename getFormatedAmount- function getFormatedAmount(amount: number, currency: string) {- return getAmountInBaseRate({+ // TODO: rename getformattedAmount+ function getformattedAmount(amount: number, currency: string) {+ return getAmountInRate({amount,baseRate,currency,@@ -68,7 +68,7 @@ export function getTotal({if (trn.type === TrnType.Income || trn.type === TrnType.Expense) {const isTransferCategory = transferCategoriesIds?.includes(trn.categoryId)const wallet = walletsItems[trn.walletId]- const sum = getFormatedAmount(trn.amount, wallet.currency)+ const sum = getformattedAmount(trn.amount, wallet.currency)// Incomeif (trn.type === TrnType.Income) {@@ -89,8 +89,8 @@ export function getTotal({else if (trn.type === TrnType.Transfer && 'incomeWalletId' in trn) {const incomeWallet = walletsItems[trn.incomeWalletId]const expenseWallet = walletsItems[trn.expenseWalletId]- const incomeAmount = getFormatedAmount(trn.incomeAmount, incomeWallet.currency)- const expenseAmount = getFormatedAmount(trn.expenseAmount, expenseWallet.currency)+ const incomeAmount = getformattedAmount(trn.incomeAmount, incomeWallet.currency)+ const expenseAmount = getformattedAmount(trn.expenseAmount, expenseWallet.currency)// Include only selected walletsif (walletsIds && walletsIds.length > 0) {@@ -114,8 +114,8 @@ export function getTotal({else if (trn.type === TrnType.Transfer && 'walletFromId' in trn) {const incomeWallet = walletsItems[trn.walletToId]const expenseWallet = walletsItems[trn.walletFromId]- const incomeAmount = getFormatedAmount(trn.amountTo, incomeWallet.currency)- const expenseAmount = getFormatedAmount(trn.amountFrom, expenseWallet.currency)+ const incomeAmount = getformattedAmount(trn.amountTo, incomeWallet.currency)+ const expenseAmount = getformattedAmount(trn.amountFrom, expenseWallet.currency)// Include only selected walletsif (walletsIds && walletsIds.length > 0) {diff --git a/components/trns/item/Details.vue b/components/trns/item/Details.vueindex a6fb2005..86820f3d 100644--- a/components/trns/item/Details.vue+++ b/components/trns/item/Details.vue@@ -22,14 +22,14 @@ export default {_stat: this.ui === 'stat',}},- formatedDate() {+ formattedDate() {const date = formatDate(this.trn.date, 'full')return `${date.weekday}, ${date.day} ${date.month} ${date.year}`},- formatedDateDay() {+ formattedDateDay() {return formatDate(this.trn.date, 'trnItem')},- formatedDateDay2() {+ formattedDateDay2() {return formatDate(this.trn.date, 'trnItem')},},@@ -70,7 +70,7 @@ export default {round).trnItem__categoryName {{ $t('trnForm.transferTitle') }}- .trnItem__date {{ formatedDate }}+ .trnItem__date {{ formattedDate }}.flex.gap-5.items-center//- Expensediv@@ -132,7 +132,7 @@ export default {.walletName {{ wallet.name }}- .trnItem__date {{ formatedDate }}+ .trnItem__date {{ formattedDate }}.trnItem__amount.text-4xl(@click.stop="setTrnEdit")diff --git a/components/trns/item/useTrn.ts b/components/trns/item/useTrn.tsindex 3a0fc701..1b82a437 100644--- a/components/trns/item/useTrn.ts+++ b/components/trns/item/useTrn.ts@@ -29,9 +29,9 @@ export default function useTrn() {}// Date- let dateFormated = formatDate(trn.date, 'full')+ let dateformatted = formatDate(trn.date, 'full')// @ts-expect-error todo- dateFormated = `${dateFormated.weekday}, ${dateFormated.day} ${dateFormated.month} ${dateFormated.year}`+ dateformatted = `${dateformatted.weekday}, ${dateformatted.day} ${dateformatted.month} ${dateformatted.year}`// Transactionif (trn.type !== 2) {@@ -43,7 +43,7 @@ export default function useTrn() {return {id,...trn,- dateFormated,+ dateformatted,category,categoryParent,wallet,@@ -64,7 +64,7 @@ export default function useTrn() {return {id,...trn,- dateFormated,+ dateformatted,category,categoryParent,expenseWallet,diff --git a/components/trns/list/TrnsListDate.vue b/components/trns/list/TrnsListDate.vueindex 5b30efe5..b46396d4 100644--- a/components/trns/list/TrnsListDate.vue+++ b/components/trns/list/TrnsListDate.vue@@ -10,7 +10,7 @@ export default {},computed: {- formatedDate() {+ formattedDate() {return formatDate(this.date, 'full')},},@@ -19,11 +19,11 @@ export default {<template lang="pug">.trnsListDate- .trnsListDate__day {{ formatedDate.day }}- .trnsListDate__weekday {{ formatedDate.weekday }}+ .trnsListDate__day {{ formattedDate.day }}+ .trnsListDate__weekday {{ formattedDate.weekday }}.trnsListDate__details- .trnsListDate__month {{ formatedDate.month }}- .trnsListDate__year {{ formatedDate.year }}+ .trnsListDate__month {{ formattedDate.month }}+ .trnsListDate__year {{ formattedDate.year }}</template><style lang="stylus" scoped>diff --git a/components/wallets/List.vue b/components/wallets/List.vueindex f348286d..345b935c 100644--- a/components/wallets/List.vue+++ b/components/wallets/List.vue@@ -4,7 +4,7 @@ import useWallets from '~/components/wallets/useWallets'const props = withDefaults(defineProps<{limit?: number- isShowToogle?: boolean+ isShowToggle?: boolean}>(),{limit: 0,@@ -39,7 +39,7 @@ onMounted(() => {stateLimit.value = props.limit})-function toogle() {+function toggle() {stateLimit.value > 0 ? (stateLimit.value = 0) : (stateLimit.value = props.limit)}</script>@@ -54,10 +54,10 @@ div)slot(- v-if="isShowToogle && walletsIdsSorted.length > limit"- name="toogle"+ v-if="isShowToggle && walletsIdsSorted.length > limit"+ name="toggle":stateLimit="stateLimit":limit="limit"- :toogle="toogle"+ :toggle="toggle")</template>diff --git a/locales/en-US.js b/locales/en-US.jsindex b2099b42..f5ea256e 100644--- a/locales/en-US.js+++ b/locales/en-US.js@@ -14,7 +14,7 @@ export default {for: 'for',locale: {- toogle: 'Toogle locale',+ toggle: 'Toggle locale',},theme: {@@ -232,7 +232,7 @@ export default {view: {add: 'Add',remove: 'Remove',- toogle: 'Toogle chart view',+ toggle: 'Toggle chart view',showed: 'Showed',periodsName: 'periods',simpleTitle: 'Line view',diff --git a/locales/ru-RU.js b/locales/ru-RU.jsindex bf2287b4..8a4b2a74 100644--- a/locales/ru-RU.js+++ b/locales/ru-RU.js@@ -15,7 +15,7 @@ export default {for: 'за',locale: {- toogle: 'Сменить язык',+ toggle: 'Сменить язык',},theme: {@@ -234,7 +234,7 @@ export default {view: {add: 'Добавить',remove: 'Удалить',- toogle: 'Изменить график',+ toggle: 'Изменить график',showed: 'Показано',periodsName: 'период',simpleTitle: 'График линия',diff --git a/store/chart/mutations.js b/store/chart/mutations.jsindex d576c78a..a200a6cc 100644--- a/store/chart/mutations.js+++ b/store/chart/mutations.js@@ -6,7 +6,7 @@ export default {}},- toogleChartPeriodView(state, { periodName }) {+ toggleChartPeriodView(state, { periodName }) {state.periods[periodName].grouped = !state.periods[periodName].grouped},diff --git a/store/trnForm/mutations.js b/store/trnForm/mutations.jsindex 87f1bef2..1eddaae7 100644--- a/store/trnForm/mutations.js+++ b/store/trnForm/mutations.js@@ -37,7 +37,7 @@ export default {openTrnForm(state) { state.show = true },openTrnFormPc(state) { state.showPc = true },- toogleTrnForm(state) {+ toggleTrnForm(state) {state.show = !state.show},}diff --git a/store/trns/getters.js b/store/trns/getters.jsindex 07cc7a75..dc5ba0ce 100644--- a/store/trns/getters.js+++ b/store/trns/getters.js@@ -22,7 +22,7 @@ export default {* @return {String} return.incomes* @return {String} return.total*/- getTotalOfTrnsIds: (_state, _getters, rootState) => (trnsIds, inculdeTransfers = false, isConvertToBase = true, walletId) => {+ getTotalOfTrnsIds: (_state, _getters, rootState) => (trnsIds, includeTransfers = false, isConvertToBase = true, walletId) => {const trnsItems = rootState.trns.itemsconst rates = rootState.currencies.ratesconst walletsItems = rootState.wallets.items@@ -51,7 +51,7 @@ export default {total: total.sumTransactions + total.sumTransfers,}}- else if (inculdeTransfers && isConvertToBase) {+ else if (includeTransfers && isConvertToBase) {total = getTotal({baseRate,rates,@@ -71,7 +71,7 @@ export default {total: total.sumTransactions + total.sumTransfers,}}- else if (inculdeTransfers && !isConvertToBase) {+ else if (includeTransfers && !isConvertToBase) {total = getTotal({transferCategoriesIds,trnsIds,@@ -90,7 +90,7 @@ export default {total: total.sumTransactions + total.sumTransfers,}}- else if (!inculdeTransfers) {+ else if (!includeTransfers) {total = getTotal({baseRate,rates,diff --git a/store/wallets/actions.js b/store/wallets/actions.jsindex c99023fd..b52c92a3 100644--- a/store/wallets/actions.js+++ b/store/wallets/actions.js@@ -17,7 +17,7 @@ export default {addWallet({ dispatch, rootState, getters }, { id, values }) {const uid = rootState.user.user.uid- const formatedValues = {+ const formattedValues = {color: values.color,countTotal: values.countTotal,currency: values.currency,@@ -30,7 +30,7 @@ export default {if (!getters.hasWallets)dispatch('currencies/setBaseCurrency', values.currency, { root: true })- saveData(`users/${uid}/accounts/${id}`, formatedValues)+ saveData(`users/${uid}/accounts/${id}`, formattedValues)},/**diff --git a/tests/categories.mock.ts b/tests/categories.mock.tsindex ad91ab65..8fce0e7b 100644--- a/tests/categories.mock.ts+++ b/tests/categories.mock.ts@@ -1,7 +1,7 @@import type { CategoryItem } from '~/components/categories/types'export const categoriesItems = {- categoryTranferOld: {+ categoryTransferOld: {name: 'Перевод',} as CategoryItem,}diff --git a/tests/getTotal.test.ts b/tests/getTotal.test.tsindex d229d75a..f5ac2e96 100644--- a/tests/getTotal.test.ts+++ b/tests/getTotal.test.ts@@ -170,7 +170,7 @@ describe('Total of Transactions', () => {expect(total.sumTransfers).toEqual(0)})- it('Total of Transfers with deprecated tranfer type when no Wallets provided', () => {+ it('Total of Transfers with deprecated Transfer type when no Wallets provided', () => {const trnsIds = ['transferOLDExpense2500Income3500']const total = getTotal({@@ -185,7 +185,7 @@ describe('Total of Transactions', () => {expect(total.sumTransfers).toEqual(1000)})- it('Total of Transfers with deprecated tranfer type', () => {+ it('Total of Transfers with deprecated Transfer type', () => {const walletsIds = ['walletDeprecatedTransferIncome', 'walletDeprecatedTransferExpense']const trnsIds = ['transferOLDExpense2500Income3500']diff --git a/tests/trns.mock.ts b/tests/trns.mock.tsindex c533e920..081b42c2 100644--- a/tests/trns.mock.ts+++ b/tests/trns.mock.ts@@ -67,7 +67,7 @@ export const trnsItems: Record<TrnID, TrnItem> = {transferCategoryNameIncomeWalletCashUSD30: {date: 123456, // TODO: add real datesamount: 30,- categoryId: 'categoryTranferOld',+ categoryId: 'categoryTransferOld',type: TrnType.Income,walletId: 'walletCashUSD',},