Skip to content

Commit

Permalink
Update packages/starknet-snap/src/index.test.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Stanley Yuen <102275989+stanleyyconsensys@users.noreply.github.com>
  • Loading branch information
khanti42 and stanleyyconsensys authored Nov 21, 2024
1 parent 1cdb121 commit 5657c4f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/starknet-snap/src/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@ describe('onRpcRequest', () => {
).rejects.toThrow(MethodNotFoundError);
});

it('requests gets executed if MetaMask does not needs update', async () => {
createMockSpy();
expect(
await onRpcRequest({
...createMockRequest(),
request: {
...createMockRequest().request,
method: 'ping',
},
}),
).toBe('pong');
});

it('throws `SnapError` if the error is an instance of SnapError', async () => {
const { createAccountSpy } = createMockSpy();
Expand Down

0 comments on commit 5657c4f

Please sign in to comment.