diff --git a/package.json b/package.json index e86096350..0c2625c1e 100644 --- a/package.json +++ b/package.json @@ -66,11 +66,11 @@ "gulp": "^3.9.1", "hapi": "^16.1.0", "interface-ipfs-core": "~0.24.1", - "ipfsd-ctl": "~0.18.2", + "ipfsd-ctl": "~0.18.3", "pre-commit": "^1.2.2", "socket.io": "^1.7.2", "socket.io-client": "^1.7.2", - "stream-equal": "^0.1.12" + "stream-equal": "^0.1.13" }, "pre-commit": [ "lint", @@ -124,4 +124,4 @@ "url": "https://github.com/ipfs/js-ipfs-api/issues" }, "homepage": "https://github.com/ipfs/js-ipfs-api" -} \ No newline at end of file +} diff --git a/test/get.spec.js b/test/get.spec.js index f0a009479..266068f95 100644 --- a/test/get.spec.js +++ b/test/get.spec.js @@ -13,15 +13,13 @@ const path = require('path') const loadFixture = require('aegir/fixtures') const FactoryClient = require('./ipfs-factory/client') -let testfile +const testfile = loadFixture(__dirname, '/fixtures/testfile.txt') let testfileBig let tfbPath + if (isNode) { tfbPath = path.join(__dirname, '/fixtures/15mb.random') testfileBig = fs.createReadStream(tfbPath, { bufferSize: 128 }) - testfile = loadFixture(__dirname, '/fixtures/testfile.txt') -} else { - testfile = loadFixture(__dirname, 'fixtures/testfile.txt') } describe('.get', () => {