Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: use js for pubsub tests as before
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 2, 2020
1 parent 575c659 commit ade2145
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/pubsub/peers.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module.exports = (common, options) => {
before(async () => {
ipfs1 = (await common.spawn()).api
// webworkers are not dialable because webrtc is not available
ipfs2 = (await common.spawn({ type: isWebWorker ? 'go' : undefined })).api
ipfs3 = (await common.spawn({ type: isWebWorker ? 'go' : undefined })).api
ipfs2 = (await common.spawn({ type: isWebWorker ? 'js' : undefined })).api
ipfs3 = (await common.spawn({ type: isWebWorker ? 'js' : undefined })).api

const ipfs2Addr = ipfs2.peerId.addresses
.find(ma => ma.nodeAddress().address === '127.0.0.1')
Expand Down
2 changes: 1 addition & 1 deletion src/pubsub/subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = (common, options) => {
// and JS is flaky everywhere

// webworkers are not dialable because webrtc is not available
ipfs2 = (await common.spawn({ type: isWebWorker ? 'go' : undefined })).api
ipfs2 = (await common.spawn({ type: isWebWorker ? 'js' : undefined })).api
})

beforeEach(() => {
Expand Down

0 comments on commit ade2145

Please sign in to comment.