Fix lint issues

This commit is contained in:
RcleydsonR
2023-01-24 22:28:24 -03:00
parent 49834745a9
commit e10e8f89fc
8 changed files with 147 additions and 151 deletions

View File

@@ -56,9 +56,9 @@ const getEventName = (event: string | undefined): string => {
};
const getAmountFormatted = (amount?: BigNumber): string => {
if(!amount) return ""
if (!amount) return "";
return formatEther(amount);
}
};
// watch props changes
watch(props, async (): Promise<void> => {
@@ -104,7 +104,9 @@ showInitialItems();
>
<span class="last-release-info">
{{
isValidDeposit(item) ? item.remaining : getAmountFormatted(item.args?.amount)
isValidDeposit(item)
? item.remaining
: getAmountFormatted(item.args?.amount)
}}
BRZ
</span>

View File

@@ -1,7 +1,7 @@
import { mount } from "@vue/test-utils";
import ListingComponent from "@/components/ListingComponent/ListingComponent.vue";
import { createPinia, setActivePinia } from "pinia";
import { expect } from 'vitest'
import { expect } from "vitest";
import { MockValidDeposits } from "@/model/mock/ValidDepositMock";
import { MockEvents } from "@/model/mock/EventMock";