mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-06 06:06:38 +00:00
Run tests only with Node.js daemon until js-ipfs-api has pubsub
This commit is contained in:
parent
c7e74839cf
commit
c2912be189
@ -26,12 +26,12 @@ const username = 'testrunner'
|
||||
const hasIpfsApiWithPubsub = (ipfs) => {
|
||||
return ipfs.object.get !== undefined
|
||||
&& ipfs.object.put !== undefined
|
||||
&& ipfs.pubsub.publish !== undefined
|
||||
&& ipfs.pubsub.subscribe !== undefined
|
||||
// && ipfs.pubsub.publish !== undefined
|
||||
// && ipfs.pubsub.subscribe !== undefined
|
||||
}
|
||||
|
||||
[IpfsNativeDaemon, IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
// [IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
// [IpfsNativeDaemon, IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
[IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
// IpfsApis.forEach(function(ipfsApi) {
|
||||
|
||||
describe('orbit-db client', function() {
|
||||
|
@ -26,8 +26,8 @@ const databaseName = 'oribt-db-tests'
|
||||
const hasIpfsApiWithPubsub = (ipfs) => {
|
||||
return ipfs.object.get !== undefined
|
||||
&& ipfs.object.put !== undefined
|
||||
&& ipfs.pubsub.publish !== undefined
|
||||
&& ipfs.pubsub.subscribe !== undefined
|
||||
// && ipfs.pubsub.publish !== undefined
|
||||
// && ipfs.pubsub.subscribe !== undefined
|
||||
}
|
||||
|
||||
const waitForPeers = (ipfs, channel) => {
|
||||
@ -46,7 +46,7 @@ const waitForPeers = (ipfs, channel) => {
|
||||
}
|
||||
|
||||
// [IpfsNativeDaemon, IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
[IpfsNativeDaemon].forEach((IpfsDaemon) => {
|
||||
[IpfsNodeDaemon].forEach((IpfsDaemon) => {
|
||||
|
||||
describe('orbit-db replication', function() {
|
||||
this.timeout(40000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user