Fix linter
This commit is contained in:
parent
c9d85cfc7d
commit
0142d07f10
@ -14,12 +14,7 @@ import { AbiEncoder, AuthorizableRevertErrors, BigNumber, StringRevertError } fr
|
|||||||
import { DecodedLogs } from 'ethereum-types';
|
import { DecodedLogs } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import {
|
import { artifacts, ERC20BridgeProxyContract, TestERC20BridgeContract } from '../src';
|
||||||
artifacts,
|
|
||||||
ERC20BridgeProxyContract,
|
|
||||||
TestERC20BridgeBridgeWithdrawToEventArgs,
|
|
||||||
TestERC20BridgeContract,
|
|
||||||
} from '../src';
|
|
||||||
|
|
||||||
blockchainTests.resets('ERC20BridgeProxy unit tests', env => {
|
blockchainTests.resets('ERC20BridgeProxy unit tests', env => {
|
||||||
const PROXY_ID = AssetProxyId.ERC20Bridge;
|
const PROXY_ID = AssetProxyId.ERC20Bridge;
|
||||||
@ -164,7 +159,7 @@ blockchainTests.resets('ERC20BridgeProxy unit tests', env => {
|
|||||||
const opts = createTransferFromOpts();
|
const opts = createTransferFromOpts();
|
||||||
const logs = await transferFromAsync(opts);
|
const logs = await transferFromAsync(opts);
|
||||||
expect(logs.length).to.eq(1);
|
expect(logs.length).to.eq(1);
|
||||||
const args = logs[0].args as TestERC20BridgeBridgeWithdrawToEventArgs;
|
const args = logs[0].args;
|
||||||
expect(args.tokenAddress).to.eq(opts.assetData.tokenAddress);
|
expect(args.tokenAddress).to.eq(opts.assetData.tokenAddress);
|
||||||
expect(args.from).to.eq(opts.from);
|
expect(args.from).to.eq(opts.from);
|
||||||
expect(args.to).to.eq(opts.to);
|
expect(args.to).to.eq(opts.to);
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { DevUtilsContract } from '@0x/contracts-dev-utils';
|
import { DevUtilsContract } from '@0x/contracts-dev-utils';
|
||||||
import { constants } from '@0x/contracts-test-utils';
|
import { constants } from '@0x/contracts-test-utils';
|
||||||
import { SupportedProvider } from '@0x/order-utils';
|
|
||||||
import { AssetProxyId, ExchangeContractErrs } from '@0x/types';
|
import { AssetProxyId, ExchangeContractErrs } from '@0x/types';
|
||||||
import { BigNumber } from '@0x/utils';
|
import { BigNumber } from '@0x/utils';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user