Skip to content

Commit 1ec20e9

Browse files
committed
fix: removing unused tests
1 parent 5d812fc commit 1ec20e9

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

test/nodejs-bundle/circuit/dial-over-specific-relay.js

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -158,51 +158,4 @@ describe(`listen on an explicit relay addr`, function () {
158158
})
159159
})
160160
})
161-
162-
// describe.skip(`active`, function () {
163-
// beforeEach(function (done) {
164-
// active = true
165-
// setUpNodes(multiplex, () => {
166-
// setTimeout(done, 1000) // give the nodes time to startup
167-
// })
168-
// })
169-
//
170-
// afterEach(function circuitTests (done) {
171-
// relaySpy1.reset()
172-
// relaySpy2.reset()
173-
// utils.stopNodes(testNodes, done)
174-
// })
175-
//
176-
// it('dial over the correct relay', function (done) {
177-
// utils.dialAndReverse(testNodes['nodeA'], testNodes['nodeB'], ['hello'], (err, result) => {
178-
// expect(err).to.be.null()
179-
// expect(relaySpy2.called).to.be.not.ok()
180-
// expect(relaySpy1.called).to.be.ok()
181-
//
182-
// expect(relaySpy1.args[0][1].toString())
183-
// .to
184-
// .equal((`/ipfs/${testNodes['nodeB'].peerInfo.id.toB58String()}`))
185-
//
186-
// expect(result[0]).to.equal('hello'.split('').reverse('').join(''))
187-
//
188-
// done(err)
189-
// })
190-
// })
191-
//
192-
// it('dial over the correct relay and transport', function (done) {
193-
// utils.dialAndReverse(testNodes['nodeB'], testNodes['nodeA'], ['hello'], (err, result) => {
194-
// expect(err).to.be.null()
195-
// expect(relaySpy1.called).to.be.not.ok()
196-
// expect(relaySpy2.called).to.be.ok()
197-
//
198-
// expect(relaySpy2.args[0][1].toString())
199-
// .to
200-
// .equal((`/ipfs/${testNodes['nodeA'].peerInfo.id.toB58String()}`))
201-
//
202-
// expect(result[0]).to.equal('hello'.split('').reverse('').join(''))
203-
//
204-
// done(err)
205-
// })
206-
// })
207-
// })
208161
})

0 commit comments

Comments
 (0)