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

Commit

Permalink
chore: add bitswap skips for offline errors
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
  • Loading branch information
alanshaw committed Jun 29, 2018
1 parent 6d34481 commit ba69bd8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion test/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,25 @@ describe('interface-ipfs-core tests', () => {

tests.bitswap(defaultCommonFactory, {
skip: [
// bitswap.stat
isWindows ? {
name: 'should not get bitswap stats when offline',
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
} : null,
// bitswap.wantlist
isWindows ? {
name: 'should not get the wantlist when offline',
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
} : null,
// bitswap.unwant
{
name: 'should remove a key from the wantlist',
reason: 'FIXME why is this skipped?'
}
},
isWindows ? {
name: 'should not remove a key from the wantlist when offline',
reason: 'FIXME go-ipfs returns an error https://github.com/ipfs/go-ipfs/issues/4078'
} : null
]
})

Expand Down

0 comments on commit ba69bd8

Please sign in to comment.