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

Commit

Permalink
test: last create-node tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Mar 17, 2017
1 parent 8001106 commit f7d61be
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions test/core/create-node.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ describe('create node', () => {
}, 250)
})

// TODO investigate why this test likes to fail on the browser
it.skip('init: true, start: false', (done) => {
it('init: true, start: false', (done) => {
// TODO investigate why this test likes to fail in the browser in travis
if (!isNode) {
return done()
}
const node = new IPFS({
repo: createTempRepo(),
init: true,
Expand All @@ -139,8 +142,12 @@ describe('create node', () => {
}, 1000)
})

// TODO investigate why this test likes to fail on the browser
it.skip('init: true, start: false, use callback', (done) => {
it('init: true, start: false, use callback', (done) => {
// TODO investigate why this test likes to fail in the browser in travis
if (!isNode) {
return done()
}

const node = new IPFS({
repo: createTempRepo(),
init: true,
Expand All @@ -149,7 +156,7 @@ describe('create node', () => {

setTimeout(() => {
node.start(() => node.stop(done))
}, 800)
}, 1000)
})

it('overload config', (done) => {
Expand Down

0 comments on commit f7d61be

Please sign in to comment.