diff --git a/contracts/exchange-forwarder/package.json b/contracts/exchange-forwarder/package.json index ac635cdeac..70aa454cfb 100644 --- a/contracts/exchange-forwarder/package.json +++ b/contracts/exchange-forwarder/package.json @@ -14,7 +14,7 @@ "build:ts": "tsc -b", "build:ci": "yarn build", "pre_build": "run-s compile contracts:gen generate_contract_wrappers", - "test": "mocha --require source-map-support/register --require make-promises-safe '../integrations/lib/test/forwarder/**/*.js' --timeout 100000 --bail --exit", + "test": "echo !!! Tests have been relocated to @0x/contracts-integrations !!!", "rebuild_and_test": "run-s build test", "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov", "test:profiler": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html", diff --git a/contracts/integrations/test/actors/base.ts b/contracts/integrations/test/actors/base.ts index 63d6ede13b..643dbd6188 100644 --- a/contracts/integrations/test/actors/base.ts +++ b/contracts/integrations/test/actors/base.ts @@ -71,10 +71,10 @@ export class Actor { public async configureERC721TokenAsync( token: DummyERC721TokenContract, spender?: string, - numToMint?: number, + numToMint: number = 1, ): Promise { const tokenIds: BigNumber[] = []; - _.times(numToMint || 1, async () => { + _.times(numToMint, async () => { const tokenId = getRandomInteger(constants.ZERO_AMOUNT, constants.MAX_UINT256); await token.mint.awaitTransactionSuccessAsync(this.address, tokenId, { from: this.address, diff --git a/contracts/integrations/test/forwarder/forwarder_test_factory.ts b/contracts/integrations/test/forwarder/forwarder_test_factory.ts index 2d799eed45..0eff83fe99 100644 --- a/contracts/integrations/test/forwarder/forwarder_test_factory.ts +++ b/contracts/integrations/test/forwarder/forwarder_test_factory.ts @@ -3,7 +3,6 @@ import { ForwarderContract } from '@0x/contracts-exchange-forwarder'; import { constants, expect, getPercentageOfValue, OrderStatus } from '@0x/contracts-test-utils'; import { OrderInfo, SignedOrder } from '@0x/types'; import { BigNumber, RevertError } from '@0x/utils'; -import * as _ from 'lodash'; import { TransactionReceiptWithDecodedLogs } from 'ethereum-types'; import { Actor, FeeRecipient, Maker } from '../actors';