Skip to content

Commit

Permalink
test: repair lint and type resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
penovicp committed Jan 1, 2025
1 parent b77b0a3 commit 2b69310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions __tests__/config/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { ETransactionVersion } from '../../src/types/api';
import { toHex } from '../../src/utils/num';
import { wait } from '../../src/utils/provider';
import { isString } from '../../src/utils/typed';
import './customMatchers'; // ensures TS traversal

const readFile = (subpath: string) => fs.readFileSync(path.resolve(__dirname, subpath));

Expand Down
4 changes: 2 additions & 2 deletions __tests__/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ describe('contract module', () => {
classHash: '0x54328a1075b8820eb43caf0caa233923148c983742402dcfc38541dd843d01a',
constructorCalldata,
});

erc20Contract = new Contract(contracts.Erc20.abi, deploy.contract_address!, provider);
erc20Address = deploy.address;
erc20Contract = new Contract(contracts.Erc20.abi, erc20Address, provider);

const { deploy: multicallDeploy } = await account.declareAndDeploy({
contract: contracts.Multicall,
Expand Down
1 change: 1 addition & 0 deletions src/wallet/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export class WalletAccount extends Account implements AccountInterface {
});

if (!address.length) {
// eslint-disable-next-line no-console
console.warn(
'@deprecated Use static method WalletAccount.connect or WalletAccount.connectSilent instead. Constructor {@link WalletAccount.(format:2)}.'
);
Expand Down

0 comments on commit 2b69310

Please sign in to comment.