Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
feat: test against js-ipfs 0.35 (#60)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
  • Loading branch information
alanshaw committed Apr 15, 2019
1 parent 897745c commit f42567e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"aegir": "^18.1.0",
"async": "^2.6.2",
"bl": "^2.2.0",
"bl": "^3.0.0",
"bs58": "^4.0.1",
"chai": "^4.2.0",
"cids": "~0.5.7",
Expand All @@ -48,12 +48,12 @@
"eslint-plugin-react": "^7.12.4",
"expose-loader": "~0.7.5",
"form-data": "^2.3.3",
"go-ipfs-dep": "~0.4.18",
"go-ipfs-dep": "~0.4.19",
"hat": "0.0.3",
"ipfs": "~0.34.4",
"ipfs-http-client": "^29.1.0",
"ipfs-unixfs": "~0.1.16",
"ipfs": "~0.35.0",
"ipfs-http-client": "^30.1.1",
"ipfs-repo": "~0.26.1",
"ipfs-unixfs": "~0.1.16",
"ipfsd-ctl": "~0.42.2",
"is-ci": "^2.0.0",
"left-pad": "^1.3.0",
Expand Down
8 changes: 3 additions & 5 deletions test/ipns.js
Expand Up @@ -18,8 +18,7 @@ const spawnJsDaemon = (dir, callback) => {
.spawn({
repoPath: dir,
disposable: false,
initOptions: { bits: 512 },
args: ['--offline']
initOptions: { bits: 512 }
}, callback)
}

Expand All @@ -28,8 +27,7 @@ const spawnGoDaemon = (dir, callback) => {
.spawn({
repoPath: dir,
disposable: false,
initOptions: { bits: 1024 },
args: ['--offline']
initOptions: { bits: 1024 }
}, callback)
}

Expand All @@ -49,7 +47,7 @@ const publishAndResolve = (publisherDaemon, resolverDaemon, callback) => {
series([
(cb) => publisherDaemon.stop(cb),
(cb) => setTimeout(cb, 2000),
(cb) => resolverDaemon.start(cb)
(cb) => resolverDaemon.start(['--offline'], cb)
], callback)
}

Expand Down

0 comments on commit f42567e

Please sign in to comment.