SSR-1184 Fix After pay unit test
This commit is contained in:
parent
b4e76cf734
commit
6d642de94b
1 changed files with 2 additions and 2 deletions
|
|
@ -330,7 +330,7 @@ describe('payment-page.vue', () => {
|
|||
expect(cartTable.exists()).toBeTruthy();
|
||||
});
|
||||
|
||||
test('Hide cart dropdown if afterpay', async () => {
|
||||
test('show cart dropdown if afterpay', async () => {
|
||||
const wrapper = setupMocks({});
|
||||
wrapper.vm.paymentType = hopPaymentMethods.AFTERPAY;
|
||||
|
||||
|
|
@ -339,7 +339,7 @@ describe('payment-page.vue', () => {
|
|||
const cartTable = wrapper.findComponent(CartDropdown);
|
||||
|
||||
// Assert
|
||||
expect(cartTable.exists()).toBeFalsy();
|
||||
expect(cartTable.exists()).toBeTruthy();
|
||||
});
|
||||
|
||||
test('Hide cart dropdown if paypal', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue