Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthecat committed Jan 13, 2025
1 parent af2794b commit d53d5e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/renderer/domains/network/accounts/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ sample({
source: $accounts,
filter: (_, { result: successful }) => successful,
fn: (accounts, { params: draft }) => {
console.log({ accounts, draft });
const draftId = accountsService.uniqId(draft);

return accounts.map(a => (accountsService.uniqId(a) === draftId ? { ...a, ...draft } : a));
Expand Down
12 changes: 0 additions & 12 deletions src/renderer/features/wallet-wallet-connect/lib/service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { type SessionTypes } from '@walletconnect/types';

import { type HexString } from '@/shared/core';

import { walletConnectService } from './service';
Expand All @@ -21,14 +19,4 @@ describe('walletConnectService', () => {

expect(result).toEqual(false);
});

test('should return true if connected', () => {
const sessions = {
topic: {} as SessionTypes.Struct,
};

const result = walletConnectService.isConnected(sessions, 'topic');

expect(result).toEqual(false);
});
});

0 comments on commit d53d5e9

Please sign in to comment.