diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-22 10:17:33 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-06-22 10:17:33 +0800 |
commit | 4012e31115dd0571d742b42a48094f41fd53a460 (patch) | |
tree | 098fa8e9ec0d22cb477bd982c9bcaab1610434c1 /packages/dev-utils | |
parent | 7c0fdc7ecf170e17aa27cb88a2b62a02ea49ca41 (diff) | |
download | dexon-0x-contracts-4012e31115dd0571d742b42a48094f41fd53a460.tar.gz dexon-0x-contracts-4012e31115dd0571d742b42a48094f41fd53a460.tar.zst dexon-0x-contracts-4012e31115dd0571d742b42a48094f41fd53a460.zip |
Use make-promises-safe as a preloader instead of manually importing
Diffstat (limited to 'packages/dev-utils')
-rw-r--r-- | packages/dev-utils/package.json | 2 | ||||
-rw-r--r-- | packages/dev-utils/test/blockchain_lifecycle_test.ts | 1 | ||||
-rw-r--r-- | packages/dev-utils/test/rpc_test.ts | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index a12d6c161..cb83cedf2 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -13,7 +13,7 @@ "test": "yarn run_mocha", "rebuild_and_test": "run-s clean build test", "test:circleci": "yarn test:coverage", - "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js --bail --exit", + "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit", "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "clean": "shx rm -rf lib scripts", diff --git a/packages/dev-utils/test/blockchain_lifecycle_test.ts b/packages/dev-utils/test/blockchain_lifecycle_test.ts index 18e245aa3..7d5e15fbe 100644 --- a/packages/dev-utils/test/blockchain_lifecycle_test.ts +++ b/packages/dev-utils/test/blockchain_lifecycle_test.ts @@ -1,6 +1,5 @@ import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; -import 'make-promises-safe'; import 'mocha'; import { BlockchainLifecycle, web3Factory } from '../src'; diff --git a/packages/dev-utils/test/rpc_test.ts b/packages/dev-utils/test/rpc_test.ts index 68842ed3a..dfbc0f7b2 100644 --- a/packages/dev-utils/test/rpc_test.ts +++ b/packages/dev-utils/test/rpc_test.ts @@ -1,7 +1,6 @@ import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; import { BlockParamLiteral } from 'ethereum-types'; -import 'make-promises-safe'; import 'mocha'; import { web3Factory } from '../src'; |