Fix test cases impacted by new changes on v2 blockchain

This commit is contained in:
RcleydsonR
2023-02-01 23:53:39 -03:00
parent 3340155a3d
commit 980c0cab76
2 changed files with 6 additions and 27 deletions

View File

@@ -20,7 +20,6 @@ describe("ListingComponent.vue", () => {
expect(wrapper.html()).toContain("Valor");
expect(wrapper.html()).toContain("Data");
expect(wrapper.html()).toContain("Cancelar oferta");
expect(wrapper.html()).toContain("Retirar tokens");
});
@@ -70,20 +69,6 @@ describe("ListingComponent.vue", () => {
expect(elements).toHaveLength(5);
});
test("Test cancel offer button emit", async () => {
const wrapper = mount(ListingComponent, {
props: {
walletTransactions: MockValidDeposits,
isManageMode: true,
},
});
wrapper.vm.$emit("cancelDeposit");
await wrapper.vm.$nextTick();
expect(wrapper.emitted("cancelDeposit")).toBeTruthy();
});
test("Test withdraw offer button emit", async () => {
const wrapper = mount(ListingComponent, {
props: {