Skip to content

Commit

Permalink
fix tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Risch authored and Alex Risch committed May 30, 2024
1 parent 6878e46 commit c9607d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/randomWallet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe('RandomWallet', () => {
test('should generate a private key and set account and address', () => {
expect(randomWallet.account).toBeDefined();
expect(randomWallet.address).toBe(randomWallet.account.address);
// @ts-ignore-next-line
mmkvStorage.saveAddress.mockReturnValue();
expect(mmkvStorage.saveAddress).toHaveBeenCalledWith(randomWallet.address);
});
Expand Down

0 comments on commit c9607d2

Please sign in to comment.