From 381ac1c38f0cb7cb19a61b980b1e43844ecb408f Mon Sep 17 00:00:00 2001 From: Richard Schneider Date: Fri, 17 Nov 2017 03:45:55 +1300 Subject: [PATCH] test: enable 'ipfs-api version' tests on windows (#174) --- package.json | 2 +- test/spawning-daemons.spec.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/package.json b/package.json index e8b0e478..ea41f0ec 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "detect-node": "^2.0.3", "eslint-config-standard-jsx": "^4.0.2", "go-ipfs-dep": "0.4.11", - "ipfs-api": "^14.3.5", + "ipfs-api": "^15.1.0", "multiaddr": "^3.0.1", "once": "^1.4.0", "rimraf": "^2.6.2", diff --git a/test/spawning-daemons.spec.js b/test/spawning-daemons.spec.js index d50f3e7f..c5ac0215 100644 --- a/test/spawning-daemons.spec.js +++ b/test/spawning-daemons.spec.js @@ -19,7 +19,6 @@ const exec = require('../src/exec') const ipfsd = require('../src') const isWindows = os.platform() === 'win32' - describe('daemon spawning', function () { this.timeout(60 * 1000) @@ -334,13 +333,6 @@ describe('daemon spawning', function () { }) }) - // skip on windows for now - // https://github.com/ipfs/js-ipfsd-ctl/pull/155#issuecomment-326970190 - // fails on windows see https://github.com/ipfs/js-ipfs-api/issues/408 - if (isWindows) { - return it.skip('uses the correct ipfs-api') - } - it('uses the correct ipfs-api', (done) => { ipfs.util.addFromFs(path.join(__dirname, 'fixtures/'), { recursive: true