Skip to content

Commit 0ca507d

Browse files
committed
fix failing unit tests afte isomorphic bump
1 parent fd1c81f commit 0ca507d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/commerce-sdk-react/src/hooks/ShopperCustomers/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('Shopper Customers hooks', () => {
1717
// If this test fails: create a new query hook, add the endpoint to the mutations enum,
1818
// or add it to the `expected` array with a comment explaining "TODO" or "never" (and why).
1919
expect(unimplemented).toEqual([
20+
'deleteCustomerPaymentMethodReference', // TODO: Implement when the endpoint exits closed beta
2021
'getExternalProfile', // TODO: Implement when the endpoint exits closed beta
2122
'getPublicProductListItems', // TODO: Implement when the endpoint exits closed beta
2223
'registerExternalProfile' // TODO: Implement when the endpoint exits closed beta

packages/commerce-sdk-react/src/hooks/ShopperLogin/index.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ describe('Shopper Login hooks', () => {
2121
// don't work well with the current implementation of mutation hooks.
2222
'authenticateCustomer',
2323
'authorizeWebauthnRegistration',
24+
'deletePasskeyCredential',
25+
'deletePasskeyUser',
2426
'finishWebauthnAuthentication',
2527
'finishWebauthnUserRegistration',
28+
'getPasskeyUserByLoginId',
2629
'getTrustedAgentAuthorizationToken',
2730
'startWebauthnAuthentication',
2831
'startWebauthnUserRegistration'

0 commit comments

Comments
 (0)