diff --git a/package.json b/package.json index 3f8296e4..038d6506 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "form-data": "^2.3.2", "go-ipfs-dep": "~0.4.17", "hat": "0.0.3", - "ipfs": "~0.30.1", + "ipfs": "~0.31.1", "ipfs-api": "^22.2.4", "ipfsd-ctl": "~0.39.0", "left-pad": "^1.3.0", diff --git a/test/circuit.js b/test/circuit.js index be749067..9ba273ba 100644 --- a/test/circuit.js +++ b/test/circuit.js @@ -23,9 +23,9 @@ const baseTest = { timeout } -// TODO: unskip once go-ipfs 0.4.16 is out -describe.skip('circuit', () => { +describe('circuit', () => { const tests = all + if (!isNode) { Object.assign(tests, browser) } @@ -37,7 +37,11 @@ describe.skip('circuit', () => { let nodeB tests[test] = Object.assign({}, baseTest, tests[test]) - const dsc = tests[test].skip && tests[test].skip() ? describe.skip : describe + + const dsc = tests[test].skip && tests[test].skip() + ? describe.skip + : describe + dsc(test, function () { this.timeout(tests[test].timeout) diff --git a/test/utils/circuit.js b/test/utils/circuit.js index 2ae7d5d0..36e1352c 100644 --- a/test/utils/circuit.js +++ b/test/utils/circuit.js @@ -25,8 +25,7 @@ const baseConf = { }, Discovery: { MDNS: { - Enabled: - false + Enabled: false } } } @@ -38,12 +37,10 @@ exports.createProcNode = (addrs, callback) => { Addresses: { Swarm: addrs }, - EXPERIMENTAL: { - relay: { - enabled: true, - hop: { - enabled: true - } + relay: { + enabled: true, + hop: { + enabled: true } } }) @@ -62,12 +59,10 @@ exports.createJsNode = (addrs, callback) => { Addresses: { Swarm: addrs }, - EXPERIMENTAL: { - relay: { - enabled: true, - hop: { - enabled: true - } + relay: { + enabled: true, + hop: { + enabled: true } } })