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

Commit 38ba0f3

Browse files
committed
fix: skip a test for a not implemented feature
1 parent f1018be commit 38ba0f3

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

test/core/interface.spec.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,12 @@ describe('interface-ipfs-core tests', function () {
153153
initOptions: { bits: 512 }
154154
}
155155
}), {
156-
skip: isNode ? null : {
156+
skip: isNode ? [
157+
{
158+
name: 'should publish message from string',
159+
reason: 'not implemented'
160+
}
161+
] : {
157162
reason: 'FIXME: disabled because no swarm addresses'
158163
}
159164
})

test/http-api/interface.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,14 @@ describe('interface-ipfs-core over ipfs-http-client tests', () => {
151151
args: ['--enable-pubsub'],
152152
initOptions: { bits: 512 }
153153
}
154-
}))
154+
}), {
155+
skip: [
156+
{
157+
name: 'should publish message from string',
158+
reason: 'not implemented'
159+
}
160+
]
161+
})
155162

156163
tests.repo(defaultCommonFactory)
157164

0 commit comments

Comments
 (0)