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

Commit

Permalink
fix: skip a test for a not implemented feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 4, 2019
1 parent 2f84a08 commit 1fca5d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/core/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,12 @@ describe('interface-ipfs-core tests', function () {
initOptions: { bits: 512 }
}
}), {
skip: isNode ? null : {
skip: isNode ? [
{
name: 'should publish message from string',
reason: 'not implemented'
}
] : {
reason: 'FIXME: disabled because no swarm addresses'
}
})
Expand Down
9 changes: 8 additions & 1 deletion test/http-api/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,14 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
args: ['--enable-pubsub'],
initOptions: { bits: 512 }
}
}))
}), {
skip: [
{
name: 'should publish message from string',
reason: 'not implemented'
}
]
})

tests.repo(defaultCommonFactory)

Expand Down

0 comments on commit 1fca5d6

Please sign in to comment.