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

Commit 4b7c14e

Browse files
committed
fix: add pass option
1 parent cd6e60e commit 4b7c14e

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

test/http-api/interface.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ describe('interface-ipfs-core over ipfs-http-client tests', function () {
2121
path: require.resolve('ipfs-http-client'),
2222
ref: require('ipfs-http-client')
2323
},
24-
ipfsBin: './src/cli/bin.js'
24+
ipfsBin: './src/cli/bin.js',
25+
ipfsOptions: {
26+
pass: 'ipfs-is-awesome-software'
27+
}
2528
}
2629
const commonFactory = ctl.createTestsInterface(commonOptions)
2730

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

5457
tests.filesMFS(commonFactory)
5558

56-
tests.key(ctl.createTestsInterface(merge(commonOptions, {
57-
ipfsOptions: {
58-
pass: 'ipfs-is-awesome-software'
59-
}
60-
})))
59+
tests.key(commonFactory)
6160

62-
tests.miscellaneous(ctl.createTestsInterface(merge(commonOptions, {
63-
ipfsOptions: {
64-
pass: 'ipfs-is-awesome-software'
65-
}
66-
})))
61+
tests.miscellaneous(commonFactory)
6762

6863
tests.name(ctl.createTestsInterface(merge(commonOptions, {
6964
ipfsOptions: {
70-
pass: 'ipfs-is-awesome-software',
7165
offline: true
7266
}
7367
})))

0 commit comments

Comments
 (0)