Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
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: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
include:
- stage: check
script:
- npx aegir build --bundlesize
# https://bundlesize-store.now.sh/values?repo=ipfs/js-ipfs&token=[secure] is 500ing
# - npx aegir build --bundlesize
- npx aegir dep-check -- -i wrtc -i electron-webrtc
- npm run lint

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"form-data": "^2.5.0",
"hat": "0.0.3",
"interface-ipfs-core": "^0.110.0",
"ipfsd-ctl": "^0.43.0",
"ipfsd-ctl": "^0.44.1",
"libp2p-websocket-star": "~0.10.2",
"ncp": "^2.0.0",
"p-event": "^4.1.0",
Expand Down
14 changes: 3 additions & 11 deletions test/bootstrapers.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/* eslint-env mocha */
'use strict'

const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)
const IPFS = require('..')
const IPFSFactory = require('ipfsd-ctl')
const bootstrapList = require('../src/core/runtime/config-browser.js')().Bootstrap
Expand All @@ -17,25 +13,21 @@ const waitFor = require('./utils/wait-for')
describe('Check that a js-ipfs node can indeed contact the bootstrappers', () => {
let ipfsd

before(function (done) {
before(async () => {
this.timeout(30 * 1000)

const factory = IPFSFactory.create({ type: 'proc', exec: IPFS })

factory.spawn({
ipfsd = await factory.spawn({
config: {
Addresses: {
Swarm: []
}
}
}, (err, node) => {
expect(err).to.not.exist()
ipfsd = node
done()
})
})

after(done => ipfsd.stop(done))
after(() => ipfsd.stop())

it('a node connects to bootstrappers', function (done) {
this.timeout(2 * 60 * 1000)
Expand Down
Loading