mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🧪 Update JS tests to meet new requirements
This commit is contained in:
parent
54046cd307
commit
51fd3b3707
1 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ describe( 'determineProductsAndCaps selector [casual seller]', () => {
|
|||
flags: { canUseCardPayments: false, canUseVaulting: true },
|
||||
},
|
||||
expected: {
|
||||
products: [ 'EXPRESS_CHECKOUT', 'ADVANCED_VAULTING' ],
|
||||
products: [ 'EXPRESS_CHECKOUT' ],
|
||||
options: { useSubscriptions: false, useCardPayments: false },
|
||||
},
|
||||
},
|
||||
|
@ -72,7 +72,7 @@ describe( 'determineProductsAndCaps selector [casual seller]', () => {
|
|||
flags: { canUseCardPayments: false, canUseVaulting: true },
|
||||
},
|
||||
expected: {
|
||||
products: [ 'EXPRESS_CHECKOUT', 'ADVANCED_VAULTING' ],
|
||||
products: [ 'EXPRESS_CHECKOUT' ],
|
||||
options: { useSubscriptions: false, useCardPayments: false },
|
||||
},
|
||||
},
|
||||
|
@ -153,7 +153,7 @@ describe( 'determineProductsAndCaps selector [business seller]', () => {
|
|||
flags: { canUseCardPayments: false, canUseVaulting: true },
|
||||
},
|
||||
expected: {
|
||||
products: [ 'EXPRESS_CHECKOUT', 'ADVANCED_VAULTING' ],
|
||||
products: [ 'EXPRESS_CHECKOUT' ],
|
||||
options: { useSubscriptions: false, useCardPayments: false },
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue