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

Commit 8692bc9

Browse files
committed
chore: re-add bitswap tests
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 1ca490d commit 8692bc9

File tree

3 files changed

+3
-32
lines changed

3 files changed

+3
-32
lines changed

test/core/interface.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const isNode = require('detect-node')
88
describe('interface-ipfs-core tests', () => {
99
const defaultCommonFactory = CommonFactory.create()
1010

11-
tests.bitswap(defaultCommonFactory)
11+
tests.bitswap(defaultCommonFactory, { skip: !isNode })
1212

1313
tests.block(defaultCommonFactory)
1414

test/http-api/interface.js

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ describe('interface-ipfs-core over ipfs-api tests', () => {
99
factoryOptions: { exec: 'src/cli/bin.js' }
1010
})
1111

12+
tests.bitswap(defaultCommonFactory)
13+
1214
tests.block(defaultCommonFactory)
1315

1416
tests.bootstrap(defaultCommonFactory)

test/http-api/interface/bitswap.js

-31
This file was deleted.

0 commit comments

Comments
 (0)