aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-22 16:32:06 +0800
committerGitHub <noreply@github.com>2018-06-22 16:32:06 +0800
commit0515c6acded983bba05320895ea2c2891f37055c (patch)
treee35dc84b3c785241b82e8bfe4605cd288a467301 /packages/metacoin
parent5c0bae20701391fffae914c35add9cebe8eaa4e5 (diff)
parent4012e31115dd0571d742b42a48094f41fd53a460 (diff)
downloaddexon-0x-contracts-0515c6acded983bba05320895ea2c2891f37055c.tar.gz
dexon-0x-contracts-0515c6acded983bba05320895ea2c2891f37055c.tar.zst
dexon-0x-contracts-0515c6acded983bba05320895ea2c2891f37055c.zip
Merge pull request #752 from 0xProject/make-promises-safe-preloader
Use make-promises-safe as a preloader instead of manually importing
Diffstat (limited to 'packages/metacoin')
-rw-r--r--packages/metacoin/package.json2
-rw-r--r--packages/metacoin/test/metacoin_test.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/packages/metacoin/package.json b/packages/metacoin/package.json
index 6db14334e..61ee8280e 100644
--- a/packages/metacoin/package.json
+++ b/packages/metacoin/package.json
@@ -17,7 +17,7 @@
"rebuild_and_test": "run-s build test",
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
"test:profile": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html",
- "run_mocha": "mocha --require source-map-support/register lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit --timeout 10000",
+ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit --timeout 10000",
"generate_contract_wrappers": "abi-gen --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers",
"coverage:report:text": "istanbul report text",
"coverage:report:html": "istanbul report html && open coverage/index.html",
diff --git a/packages/metacoin/test/metacoin_test.ts b/packages/metacoin/test/metacoin_test.ts
index 78de57a2a..89c2c3b4c 100644
--- a/packages/metacoin/test/metacoin_test.ts
+++ b/packages/metacoin/test/metacoin_test.ts
@@ -3,7 +3,6 @@ import { ContractArtifact } from '@0xproject/sol-compiler';
import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import { LogWithDecodedArgs } from 'ethereum-types';
-import 'make-promises-safe';
import * as MetacoinArtifact from '../artifacts/Metacoin.json';
import { MetacoinContract, TransferContractEventArgs } from '../src/contract_wrappers/metacoin';