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

Commit

Permalink
chore: fix misc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 4, 2019
1 parent ca2d688 commit 1e40992
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ describe('interface-ipfs-core tests', function () {

tests.miscellaneous(CommonFactory.create({
// No need to stop, because the test suite does a 'stop' test.
createTeardown: () => cb => cb()
createTeardown: () => cb => cb(),
spawnOptions: {
args: ['--pass ipfs-is-awesome-software', '--offline']
}
}))

tests.name(CommonFactory.create({
Expand Down
5 changes: 4 additions & 1 deletion test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {

tests.miscellaneous(CommonFactory.create({
// No need to stop, because the test suite does a 'stop' test.
createTeardown: () => cb => cb()
createTeardown: () => cb => cb(),
spawnOptions: {
args: ['--pass ipfs-is-awesome-software', '--offline']
}
}))

tests.name(CommonFactory.create({
Expand Down

0 comments on commit 1e40992

Please sign in to comment.