From 0319d91ccbc0f99e5eafb6115aec7be839301474 Mon Sep 17 00:00:00 2001 From: brunoedcf Date: Tue, 14 Feb 2023 18:33:56 -0300 Subject: [PATCH] fixing listingComponent tests for deploy --- .../__tests__/ListingComponent.spec.ts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/components/ListingComponent/__tests__/ListingComponent.spec.ts b/src/components/ListingComponent/__tests__/ListingComponent.spec.ts index 30b9208..1f12eb0 100644 --- a/src/components/ListingComponent/__tests__/ListingComponent.spec.ts +++ b/src/components/ListingComponent/__tests__/ListingComponent.spec.ts @@ -14,8 +14,7 @@ describe("ListingComponent.vue", () => { const wrapper = mount(ListingComponent, { props: { depositList: [], - walletTransactions: [], - isManageMode: true, + walletTransactions: [] }, }); @@ -27,7 +26,6 @@ describe("ListingComponent.vue", () => { props: { depositList: [], walletTransactions: MockEvents, - isManageMode: false, }, }); @@ -39,9 +37,8 @@ describe("ListingComponent.vue", () => { test("Test load more button behavior", async () => { const wrapper = mount(ListingComponent, { props: { - depositList: [], - walletTransactions: MockValidDeposits, - isManageMode: false, + depositList: MockValidDeposits, + walletTransactions: [], }, }); const btn = wrapper.find("button"); @@ -60,8 +57,7 @@ describe("ListingComponent.vue", () => { const wrapper = mount(ListingComponent, { props: { depositList: MockValidDeposits, - walletTransactions: MockValidDeposits, - isManageMode: true, + walletTransactions: MockEvents, }, }); wrapper.vm.$emit("depositWithdrawn");