diff --git a/contracts/coordinator/test/coordinator.ts b/contracts/coordinator/test/coordinator.ts index d9ed5e49f9..4c8a2b9c16 100644 --- a/contracts/coordinator/test/coordinator.ts +++ b/contracts/coordinator/test/coordinator.ts @@ -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'; diff --git a/contracts/exchange/test/transactions.ts b/contracts/exchange/test/transactions.ts index 630ee11696..ee2a31c127 100644 --- a/contracts/exchange/test/transactions.ts +++ b/contracts/exchange/test/transactions.ts @@ -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', () => {