Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
CiprianDraghici committed Sep 4, 2024
1 parent c27d82f commit b832930
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CrossWindowProvider/tests/SignMessage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ describe('CrossWindowProvider Login', () => {
});

it('should sign a message correctly', async () => {
const mockMessage = 'test';
crossWindowProvider.setAddress('testAddress');
await crossWindowProvider.init();
const result = await crossWindowProvider.signMessage('test');
const result = await crossWindowProvider.signMessage(mockMessage);

expect(result.signature?.toString()).toBe('testSignature');
});
Expand Down

0 comments on commit b832930

Please sign in to comment.