fixing listingComponent tests for deploy
This commit is contained in:
parent
3aae98bb44
commit
0319d91ccb
@ -14,8 +14,7 @@ describe("ListingComponent.vue", () => {
|
|||||||
const wrapper = mount(ListingComponent, {
|
const wrapper = mount(ListingComponent, {
|
||||||
props: {
|
props: {
|
||||||
depositList: [],
|
depositList: [],
|
||||||
walletTransactions: [],
|
walletTransactions: []
|
||||||
isManageMode: true,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -27,7 +26,6 @@ describe("ListingComponent.vue", () => {
|
|||||||
props: {
|
props: {
|
||||||
depositList: [],
|
depositList: [],
|
||||||
walletTransactions: MockEvents,
|
walletTransactions: MockEvents,
|
||||||
isManageMode: false,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -39,9 +37,8 @@ describe("ListingComponent.vue", () => {
|
|||||||
test("Test load more button behavior", async () => {
|
test("Test load more button behavior", async () => {
|
||||||
const wrapper = mount(ListingComponent, {
|
const wrapper = mount(ListingComponent, {
|
||||||
props: {
|
props: {
|
||||||
depositList: [],
|
depositList: MockValidDeposits,
|
||||||
walletTransactions: MockValidDeposits,
|
walletTransactions: [],
|
||||||
isManageMode: false,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const btn = wrapper.find("button");
|
const btn = wrapper.find("button");
|
||||||
@ -60,8 +57,7 @@ describe("ListingComponent.vue", () => {
|
|||||||
const wrapper = mount(ListingComponent, {
|
const wrapper = mount(ListingComponent, {
|
||||||
props: {
|
props: {
|
||||||
depositList: MockValidDeposits,
|
depositList: MockValidDeposits,
|
||||||
walletTransactions: MockValidDeposits,
|
walletTransactions: MockEvents,
|
||||||
isManageMode: true,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
wrapper.vm.$emit("depositWithdrawn");
|
wrapper.vm.$emit("depositWithdrawn");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user