diff --git a/test/interface-tests.spec.js b/test/interface-tests.spec.js index 355eddaa0..9a0b3b994 100644 --- a/test/interface-tests.spec.js +++ b/test/interface-tests.spec.js @@ -617,7 +617,11 @@ function executeTests (commonFactory) { name: 'should list pins with metadata', reason: 'not implemented in kubo' } - ] + ].concat(isWebWorker + ? [ + 'should pin dag-cbor' // only seems to fail when running all tests together. + ].map((name) => ({ name, reason: 'FIXME: https://github.com/ipfs/js-kubo-rpc-client/issues/56' })) + : []) }) tests.ping(commonFactory, { diff --git a/test/interface-tests/src/pubsub/peers.js b/test/interface-tests/src/pubsub/peers.js index 016f8184c..609084cdc 100644 --- a/test/interface-tests/src/pubsub/peers.js +++ b/test/interface-tests/src/pubsub/peers.js @@ -39,8 +39,8 @@ export function testPeers (factory, options) { before(async () => { ipfs1 = (await factory.spawn({ ipfsOptions })).api // webworkers are not dialable because webrtc is not available - ipfs2 = (await factory.spawn({ type: isWebWorker ? 'js' : undefined, ipfsOptions })).api - ipfs3 = (await factory.spawn({ type: isWebWorker ? 'js' : undefined, ipfsOptions })).api + ipfs2 = (await factory.spawn({ type: 'go', ipfsOptions })).api + ipfs3 = (await factory.spawn({ type: 'go', ipfsOptions })).api ipfs2Id = await ipfs2.id() ipfs3Id = await ipfs3.id() diff --git a/test/interface-tests/src/pubsub/subscribe.js b/test/interface-tests/src/pubsub/subscribe.js index 182de8570..e01707d78 100644 --- a/test/interface-tests/src/pubsub/subscribe.js +++ b/test/interface-tests/src/pubsub/subscribe.js @@ -47,7 +47,7 @@ export function testSubscribe (factory, options) { ipfs1 = (await factory.spawn({ ipfsOptions })).api // webworkers are not dialable because webrtc is not available - ipfs2 = (await factory.spawn({ type: isWebWorker ? 'js' : undefined, ipfsOptions })).api + ipfs2 = (await factory.spawn({ type: undefined, ipfsOptions })).api ipfs1Id = await ipfs1.id() ipfs2Id = await ipfs2.id()