Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
chore: update comment about skipping the DHT test
Browse files Browse the repository at this point in the history
To find all of those comments run:

```console
$ grep DHT test -R |grep TODO
test/cli/dht.js:// TODO: unskip when DHT is enabled: #1994
test/core/ping.spec.js:  // TODO: unskip when DHT is enabled: #1994
test/core/interface.spec.js:      reason: 'TODO: unskip when DHT is enabled: #1994'
test/core/dht.spec.js:// TODO: unskip when DHT is enabled: #1994
test/core/name.spec.js:  // TODO: unskip when DHT is enabled: #1994
test/http-api/inject/dht.js:  // TODO: unskip when DHT is enabled: #1994
test/http-api/interface.js:      reason: 'TODO: unskip when DHT is enabled: #1994'
```
  • Loading branch information
vmx committed Aug 7, 2019
1 parent 9cb1938 commit f0b4f42
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/cli/dht.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const daemonOpts = {
initOptions: { bits: 512 }
}

// TODO: unskip when DHT is enabled in 0.36
// TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994
describe.skip('dht', () => {
const nodes = []
let ipfsA
Expand Down
2 changes: 1 addition & 1 deletion test/core/dht.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const isNode = require('detect-node')
const IPFSFactory = require('ipfsd-ctl')
const IPFS = require('../../src/core')

// TODO: unskip when DHT is enabled in 0.36
// TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994
describe.skip('dht', () => {
describe('enabled', () => {
let ipfsd, ipfs
Expand Down
2 changes: 1 addition & 1 deletion test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('interface-ipfs-core tests', function () {
}
}), {
skip: {
reason: 'TODO: unskip when DHT is enabled in 0.36'
reason: 'TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994'
}
})

Expand Down
2 changes: 1 addition & 1 deletion test/core/name.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('name', function () {
})
})

// TODO: unskip when DHT is enabled in 0.36
// TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994
describe.skip('work with dht', () => {
let nodes
let nodeA
Expand Down
2 changes: 1 addition & 1 deletion test/core/ping.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('ping', function () {
})
})

// TODO: unskip when DHT enabled in 0.36
// TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994
describe.skip('DHT enabled', function () {
// Our bootstrap process will run 3 IPFS daemons where
// A ----> B ----> C
Expand Down
2 changes: 1 addition & 1 deletion test/http-api/inject/dht.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const expect = chai.expect
chai.use(dirtyChai)

module.exports = (http) => {
// TODO: unskip when DHT is enabled in 0.36
// TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994
describe.skip('/dht', () => {
let api

Expand Down
2 changes: 1 addition & 1 deletion test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
}
}), {
skip: {
reason: 'TODO: unskip when DHT is enabled in 0.36'
reason: 'TODO: unskip when DHT is enabled: https://github.com/ipfs/js-ipfs/pull/1994'
}
})

Expand Down

0 comments on commit f0b4f42

Please sign in to comment.