Fix linting errors

This commit is contained in:
Amir Bandeali 2019-04-25 16:30:00 -07:00
parent e717625f86
commit dc4bfde76d
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ import {
} from '@0x/contracts-test-utils';
import { BlockchainLifecycle } from '@0x/dev-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 * as chai from 'chai';
import { LogWithDecodedArgs } from 'ethereum-types';

View File

@ -45,7 +45,7 @@ import {
chaiSetup.configure();
const expect = chai.expect;
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
// tslint:disable:no-unnecessary-type-assertion
describe('Exchange transactions', () => {
let chainId: number;
let senderAddress: string;
@ -852,7 +852,7 @@ describe('Exchange transactions', () => {
transactionHashUtils.getTransactionHashHex(transaction2),
nestedError,
);
expect(tx).to.revertWith(expectedError);
return expect(tx).to.revertWith(expectedError);
});
});
describe('examples', () => {