From 5657c4f96a215d968d4840082428e441d7d3acb7 Mon Sep 17 00:00:00 2001 From: khanti42 Date: Thu, 21 Nov 2024 11:53:46 +0100 Subject: [PATCH] Update packages/starknet-snap/src/index.test.tsx Co-authored-by: Stanley Yuen <102275989+stanleyyconsensys@users.noreply.github.com> --- packages/starknet-snap/src/index.test.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/starknet-snap/src/index.test.tsx b/packages/starknet-snap/src/index.test.tsx index 4e077af1..cb2a7d38 100644 --- a/packages/starknet-snap/src/index.test.tsx +++ b/packages/starknet-snap/src/index.test.tsx @@ -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();