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

Commit 1e40992

Browse files
committed
chore: fix misc tests
1 parent ca2d688 commit 1e40992

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test/core/interface.spec.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ describe('interface-ipfs-core tests', function () {
9292

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

98101
tests.name(CommonFactory.create({

test/http-api/interface.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
9191

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

97100
tests.name(CommonFactory.create({

0 commit comments

Comments
 (0)