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

Commit

Permalink
fix: add pass option
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Dec 11, 2019
1 parent 1b9d906 commit b1a8620
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ describe('interface-ipfs-core over ipfs-http-client tests', function () {
path: require.resolve('ipfs-http-client'),
ref: require('ipfs-http-client')
},
ipfsBin: './src/cli/bin.js'
ipfsBin: './src/cli/bin.js',
ipfsOptions: {
pass: 'ipfs-is-awesome-software'
}
}
const commonFactory = ctl.createTestsInterface(commonOptions)

Expand Down Expand Up @@ -53,21 +56,12 @@ describe('interface-ipfs-core over ipfs-http-client tests', function () {

tests.filesMFS(commonFactory)

tests.key(ctl.createTestsInterface(merge(commonOptions, {
ipfsOptions: {
pass: 'ipfs-is-awesome-software'
}
})))
tests.key(commonFactory)

tests.miscellaneous(ctl.createTestsInterface(merge(commonOptions, {
ipfsOptions: {
pass: 'ipfs-is-awesome-software'
}
})))
tests.miscellaneous(commonFactory)

tests.name(ctl.createTestsInterface(merge(commonOptions, {
ipfsOptions: {
pass: 'ipfs-is-awesome-software',
offline: true
}
})))
Expand Down

0 comments on commit b1a8620

Please sign in to comment.