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

Commit 41d2749

Browse files
committed
fix: skip a test for a not implemented feature
1 parent d51dd95 commit 41d2749

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

test/core/interface.spec.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,12 @@ describe('interface-ipfs-core tests', function () {
200200
initOptions: { bits: 512 }
201201
}
202202
}), {
203-
skip: isNode ? null : {
203+
skip: isNode ? [
204+
{
205+
name: 'should publish message from string',
206+
reason: 'not implemented'
207+
}
208+
] : {
204209
reason: 'FIXME: disabled because no swarm addresses'
205210
}
206211
})

test/http-api/interface.js

+8-1
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)