Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit ba69bd8

Browse files
committed
chore: add bitswap skips for offline errors
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 6d34481 commit ba69bd8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/interface.spec.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,25 @@ describe('interface-ipfs-core tests', () => {
1212

1313
tests.bitswap(defaultCommonFactory, {
1414
skip: [
15+
// bitswap.stat
16+
isWindows ? {
17+
name: 'should not get bitswap stats when offline',
18+
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
19+
} : null,
20+
// bitswap.wantlist
21+
isWindows ? {
22+
name: 'should not get the wantlist when offline',
23+
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
24+
} : null,
1525
// bitswap.unwant
1626
{
1727
name: 'should remove a key from the wantlist',
1828
reason: 'FIXME why is this skipped?'
19-
}
29+
},
30+
isWindows ? {
31+
name: 'should not remove a key from the wantlist when offline',
32+
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
33+
} : null
2034
]
2135
})
2236

0 commit comments

Comments
 (0)