Skip to content

Commit

Permalink
fix(test): prevent log message in Wallets.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Nov 28, 2023
1 parent fa583fd commit ad5c18d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Wallets.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ describe('<Wallets />', () => {
;(apiMock.getGetinfo as jest.Mock).mockReturnValue(neverResolvingPromise)
;(apiMock.getSession as jest.Mock).mockReturnValue(
Promise.resolve({
ok: false,
ok: true,
json: () => Promise.resolve({}),
}),
)
;(apiMock.getWalletAll as jest.Mock).mockReturnValue(
Expand Down

0 comments on commit ad5c18d

Please sign in to comment.