Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 5c9e508

Browse files
author
Edin Jusupovic
committed
Updated Mocha to latest version, resolved critical package bugs from old Mocha version.
Discovered new bugs in tests: test/scaffold/create.integration.js (fixed now)
1 parent e1a3fcf commit 5c9e508

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"litecoind"
5353
],
5454
"peerDependencies": {
55-
"litecore-lib": "^0.13.22"
55+
"litecore-lib": "^0.13.22"
5656
},
5757
"dependencies": {
5858
"async": "^1.3.0",
@@ -83,7 +83,7 @@
8383
"istanbul": "^0.4.3",
8484
"jshint": "^2.9.2",
8585
"jshint-stylish": "^2.1.0",
86-
"mocha": "^2.4.5",
86+
"mocha": "^5.2.0",
8787
"proxyquire": "^1.3.1",
8888
"rimraf": "^2.4.2",
8989
"sinon": "^1.15.4"

test/scaffold/create.integration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ describe('#create', function() {
7171
should.equal(fs.existsSync(packagePath), true);
7272

7373
var config = JSON.parse(fs.readFileSync(configPath));
74-
config.services.should.deep.equal(['bitcoind', 'db', 'address', 'web']);
75-
config.datadir.should.equal('./data');
74+
config.services.should.deep.equal(['bitcoind', 'web']);
75+
config.servicesConfig.bitcoind.spawn.datadir.should.equal('./data');
7676
config.network.should.equal('livenet');
7777

7878
var pack = JSON.parse(fs.readFileSync(packagePath));

0 commit comments

Comments
 (0)