diff --git a/packages/starknet-snap/test/src/index.test.ts b/packages/starknet-snap/test/src/index.test.ts index 1bb5d3c1..2242c5cc 100644 --- a/packages/starknet-snap/test/src/index.test.ts +++ b/packages/starknet-snap/test/src/index.test.ts @@ -2,17 +2,7 @@ import chai, { expect } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import { WalletMock } from '../wallet.mock.test'; -import { getValue } from '../../src/getValue'; -import { - createAccountProxyTxn, - testnetAccAddresses, - testnetPublicKeys, - mainnetPublicKeys, - mainnetAccAddresses, - invalidNetwork as INVALID_NETWORK, - getBip44EntropyStub, - account1, -} from '../constants.test'; +import { getBip44EntropyStub, account1 } from '../constants.test'; import { SnapState } from '../../src/types/snapState'; import { ETHER_MAINNET, @@ -20,8 +10,6 @@ import { STARKNET_MAINNET_NETWORK, STARKNET_SEPOLIA_TESTNET_NETWORK, } from '../../src/utils/constants'; -import { Mutex } from 'async-mutex'; -import * as snapUtils from '../../src/utils/snapUtils'; import * as starknetUtils from '../../src/utils/starknetUtils'; import { onHomePage } from '../../src'; @@ -30,7 +18,7 @@ const sandbox = sinon.createSandbox(); describe('Test function: onHomePage', function () { const walletStub = new WalletMock(); - // eslint-disable-next-line no-restricted-globals + // eslint-disable-next-line no-restricted-globals, @typescript-eslint/no-explicit-any const globalAny: any = global; const state: SnapState = { accContracts: [],