File tree Expand file tree Collapse file tree
app/components/Views/ConnectQRHardware Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,18 +160,18 @@ const mockPage1Accounts = [
160160] ;
161161
162162const mockQrKeyring = {
163- getFirstPage : jest . fn ( ) ,
164- getNextPage : jest . fn ( ) ,
165- getPreviousPage : jest . fn ( ) ,
166- forgetDevice : jest . fn ( ) ,
163+ getFirstPage : jest . fn ( ) as jest . Mock ,
164+ getNextPage : jest . fn ( ) as jest . Mock ,
165+ getPreviousPage : jest . fn ( ) as jest . Mock ,
166+ forgetDevice : jest . fn ( ) as jest . Mock ,
167167 getName : jest . fn ( ) . mockResolvedValue ( 'KeystoneDevice' ) ,
168168 getAccounts : jest
169169 . fn ( )
170170 . mockReturnValue ( [
171171 '0x4678901234567890123456789012345678901210' ,
172172 '0x49A10E12ceaacC302548d3c1C72836C9298d180e' ,
173173 ] ) ,
174- setAccountToUnlock : jest . fn ( ) ,
174+ setAccountToUnlock : jest . fn ( ) as jest . Mock ,
175175 addAccounts : jest
176176 . fn ( )
177177 . mockResolvedValue ( [ '0x4678901234567890123456789012345678901210' ] ) ,
You can’t perform that action at this time.
0 commit comments