Skip to content

Commit

Permalink
chore: fix lint style on snap (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyyconsensys authored Jul 16, 2024
1 parent 0f49ab0 commit 65eb31e
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions packages/starknet-snap/test/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,14 @@ 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,
ETHER_SEPOLIA_TESTNET,
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';

Expand All @@ -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: [],
Expand Down

0 comments on commit 65eb31e

Please sign in to comment.