Skip to content

Commit 9b1ad6f

Browse files
committed
refactor: lint:fix
1 parent 98ecef2 commit 9b1ad6f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/sdk/src/core/__tests__/providers/current-network.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { GnoWalletProvider } from "../../../providers";
2-
import { GNO_ADDRESS_PREFIX } from "../../constants/chains.constant";
3-
import { NetworkInfo } from "../../types";
1+
import { GnoWalletProvider } from '../../../providers';
2+
import { GNO_ADDRESS_PREFIX } from '../../constants/chains.constant';
3+
import { NetworkInfo } from '../../types';
44

55
describe('GnoWalletProvider.currentNetwork', () => {
66
let provider: GnoWalletProvider;
@@ -57,4 +57,4 @@ describe('GnoWalletProvider.currentNetwork', () => {
5757
const currentNetwork = (provider as unknown as { currentNetwork: NetworkInfo | null }).currentNetwork;
5858
expect(currentNetwork).toBeNull();
5959
});
60-
})
60+
});

packages/sdk/src/core/__tests__/providers/get-network.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('GnoWalletProvider.getNetwork', () => {
4040
// Test with wallet connected but network not initialized
4141
it('should return NOT_INITIALIZED_NETWORK when network is not initialized', async () => {
4242
(provider as unknown as { wallet: object }).wallet = {};
43-
(provider as unknown as {networks: NetworkInfo[]}).networks = [];
43+
(provider as unknown as { networks: NetworkInfo[] }).networks = [];
4444

4545
const response = await provider.getNetwork();
4646

packages/sdk/src/core/providers/tm2-wallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export interface TM2WalletProvider extends WalletProvider {
99

1010
getWallet(): TM2Wallet | null;
1111

12-
getNetwork(): Promise<GetNetworkResponse>
12+
getNetwork(): Promise<GetNetworkResponse>;
1313
}

0 commit comments

Comments
 (0)