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

fix: enable browser-browser-go circuit test #64

Merged
merged 2 commits into from
Apr 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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