File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/commerce-sdk-react/src
hooks/ShopperConfigurations Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -957,8 +957,8 @@ describe('Auth', () => {
957957 const auth = new Auth ( configSLASPrivate )
958958
959959 await auth . authorizePasswordless ( { userid : 'userid' } )
960- expect ( helpers . authorizePasswordless ) . toHaveBeenCalled ( )
961- const functionArg = ( helpers . authorizePasswordless as jest . Mock ) . mock . calls [ 0 ] [ 0 ]
960+ expect ( slasClient . authorizePasswordlessCustomer ) . toHaveBeenCalled ( )
961+ const functionArg = ( slasClient . authorizePasswordlessCustomer as jest . Mock ) . mock . calls [ 0 ] [ 0 ]
962962 expect ( functionArg ) . toMatchObject ( {
963963 parameters : {
964964 userid : 'userid' ,
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: BSD-3-Clause
55 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66 */
7- import { renderHook } from '@testing-library/react'
87import { useConfigurations } from './query'
98
109describe ( 'ShopperConfigurations' , ( ) => {
You can’t perform that action at this time.
0 commit comments