Skip to content

Commit

Permalink
fix: removing unused tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Oct 17, 2017
1 parent 5d812fc commit 1ec20e9
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions test/nodejs-bundle/circuit/dial-over-specific-relay.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,51 +158,4 @@ describe(`listen on an explicit relay addr`, function () {
})
})
})

// describe.skip(`active`, function () {
// beforeEach(function (done) {
// active = true
// setUpNodes(multiplex, () => {
// setTimeout(done, 1000) // give the nodes time to startup
// })
// })
//
// afterEach(function circuitTests (done) {
// relaySpy1.reset()
// relaySpy2.reset()
// utils.stopNodes(testNodes, done)
// })
//
// it('dial over the correct relay', function (done) {
// utils.dialAndReverse(testNodes['nodeA'], testNodes['nodeB'], ['hello'], (err, result) => {
// expect(err).to.be.null()
// expect(relaySpy2.called).to.be.not.ok()
// expect(relaySpy1.called).to.be.ok()
//
// expect(relaySpy1.args[0][1].toString())
// .to
// .equal((`/ipfs/${testNodes['nodeB'].peerInfo.id.toB58String()}`))
//
// expect(result[0]).to.equal('hello'.split('').reverse('').join(''))
//
// done(err)
// })
// })
//
// it('dial over the correct relay and transport', function (done) {
// utils.dialAndReverse(testNodes['nodeB'], testNodes['nodeA'], ['hello'], (err, result) => {
// expect(err).to.be.null()
// expect(relaySpy1.called).to.be.not.ok()
// expect(relaySpy2.called).to.be.ok()
//
// expect(relaySpy2.args[0][1].toString())
// .to
// .equal((`/ipfs/${testNodes['nodeA'].peerInfo.id.toB58String()}`))
//
// expect(result[0]).to.equal('hello'.split('').reverse('').join(''))
//
// done(err)
// })
// })
// })
})

0 comments on commit 1ec20e9

Please sign in to comment.