Skip to content

Commit

Permalink
rm test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Aug 11, 2023
1 parent 61d1284 commit 92abca3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/bridge-ui/src/utils/switchNetwork.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,4 @@ describe('switchNetwork', () => {
'timeout switching network',
);
});

it('should do nothing if already on the target network', async () => {
jest.mocked(get).mockReturnValue({ id: L2_CHAIN_ID });

await switchNetwork(L2_CHAIN_ID);

expect(wagmiSwitchNetwork).not.toHaveBeenCalled();
});
});

0 comments on commit 92abca3

Please sign in to comment.