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

Commit

Permalink
fix: enable browser-browser-go circuit test (#64)
Browse files Browse the repository at this point in the history
* fix: ipns publish offline show use allow-offline
  • Loading branch information
jacobheun authored and alanshaw committed Apr 16, 2019
1 parent f42567e commit eaffbcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/circuit/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ module.exports = {
(cb) => setTimeout(cb, 5000),
(cb) => nodeA.ipfsd.api.swarm.connect(getCircuitAddr(nodeB.addrs), cb)
], callback)
},
skip: () => true
}
},
'browser-browser-js': {
create: (callback) => series([
Expand Down
4 changes: 2 additions & 2 deletions test/ipns.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ const publishAndResolve = (publisherDaemon, resolverDaemon, callback) => {

series([
(cb) => publisherDaemon.init(cb),
(cb) => publisherDaemon.start(cb),
(cb) => publisherDaemon.start(['--offline'], cb),
(cb) => publisherDaemon.api.id((err, res) => {
expect(err).to.not.exist()
nodeId = res.id
cb()
}),
(cb) => publisherDaemon.api.name.publish(ipfsRef, { resolve: false }, cb),
(cb) => publisherDaemon.api.name.publish(ipfsRef, { resolve: false, 'allow-offline': true }, cb),
(cb) => sameDaemon ? cb() : stopPublisherAndStartResolverDaemon(cb),
(cb) => {
resolverDaemon.api.name.resolve(nodeId, { local: true }, (err, res) => {
Expand Down

0 comments on commit eaffbcf

Please sign in to comment.