🧪 Update JS tests to meet new requirements

This commit is contained in:
Philipp Stracker 2025-03-05 15:33:55 +01:00
parent 54046cd307
commit 51fd3b3707
No known key found for this signature in database

View file

@ -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 },
},
},