Fix linting errors
This commit is contained in:
parent
e717625f86
commit
dc4bfde76d
@ -23,7 +23,7 @@ import {
|
|||||||
} from '@0x/contracts-test-utils';
|
} from '@0x/contracts-test-utils';
|
||||||
import { BlockchainLifecycle } from '@0x/dev-utils';
|
import { BlockchainLifecycle } from '@0x/dev-utils';
|
||||||
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
import { assetDataUtils, orderHashUtils } from '@0x/order-utils';
|
||||||
import { RevertReason, SignedOrder } from '@0x/types';
|
import { RevertReason } from '@0x/types';
|
||||||
import { BigNumber, providerUtils } from '@0x/utils';
|
import { BigNumber, providerUtils } from '@0x/utils';
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
import { LogWithDecodedArgs } from 'ethereum-types';
|
import { LogWithDecodedArgs } from 'ethereum-types';
|
||||||
|
@ -45,7 +45,7 @@ import {
|
|||||||
chaiSetup.configure();
|
chaiSetup.configure();
|
||||||
const expect = chai.expect;
|
const expect = chai.expect;
|
||||||
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
|
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
|
||||||
|
// tslint:disable:no-unnecessary-type-assertion
|
||||||
describe('Exchange transactions', () => {
|
describe('Exchange transactions', () => {
|
||||||
let chainId: number;
|
let chainId: number;
|
||||||
let senderAddress: string;
|
let senderAddress: string;
|
||||||
@ -852,7 +852,7 @@ describe('Exchange transactions', () => {
|
|||||||
transactionHashUtils.getTransactionHashHex(transaction2),
|
transactionHashUtils.getTransactionHashHex(transaction2),
|
||||||
nestedError,
|
nestedError,
|
||||||
);
|
);
|
||||||
expect(tx).to.revertWith(expectedError);
|
return expect(tx).to.revertWith(expectedError);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('examples', () => {
|
describe('examples', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user