Skip to content

Commit

Permalink
chore: fix typings for packages/react
Browse files Browse the repository at this point in the history
  • Loading branch information
work-kevin-flynn committed Nov 22, 2024
1 parent 4b40a96 commit 96654ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/__tests__/context.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge';
const mockBridgeAPI: IBridgeAPI = {
getSignIn: jest.fn((children) => children),
store: {
getState: () => null,
subscribe: () => null,
},
getState: () => null as unknown as ReturnType<IBridgeAPI['store']['getState']>,
subscribe: () => null as unknown as ReturnType<IBridgeAPI['store']['subscribe']>,
} as unknown as IBridgeAPI['store'],
instance: {} as IBridgeAPI['instance'],
mountApp: () => null,
unMountApp: () => null,
Expand Down

0 comments on commit 96654ae

Please sign in to comment.