aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r--packages/web3-wrapper/package.json2
-rw-r--r--packages/web3-wrapper/test/web3_wrapper_test.ts3
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json
index 3c5b2c616..5f7f2cb00 100644
--- a/packages/web3-wrapper/package.json
+++ b/packages/web3-wrapper/package.json
@@ -15,7 +15,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",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js",
diff --git a/packages/web3-wrapper/test/web3_wrapper_test.ts b/packages/web3-wrapper/test/web3_wrapper_test.ts
index 326efe654..35eab3aa2 100644
--- a/packages/web3-wrapper/test/web3_wrapper_test.ts
+++ b/packages/web3-wrapper/test/web3_wrapper_test.ts
@@ -1,6 +1,5 @@
import * as chai from 'chai';
import * as Ganache from 'ganache-core';
-import 'make-promises-safe';
import 'mocha';
import { Web3Wrapper } from '../src';
@@ -27,7 +26,7 @@ describe('Web3Wrapper tests', () => {
describe('#getNodeVersionAsync', () => {
it('gets the node version', async () => {
const nodeVersion = await web3Wrapper.getNodeVersionAsync();
- const NODE_VERSION = 'EthereumJS TestRPC/v2.1.0/ethereum-js';
+ const NODE_VERSION = 'EthereumJS TestRPC/v2.1.2/ethereum-js';
expect(nodeVersion).to.be.equal(NODE_VERSION);
});
});