mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-03 11:02:31 +00:00
Add ipfs api names to counter tests
This commit is contained in:
parent
881262f3e1
commit
8a766ab66f
@ -22,6 +22,7 @@ let ipfs, ipfsDaemon;
|
||||
const IpfsApis = [
|
||||
{
|
||||
// js-ipfs
|
||||
name: 'js-ipfs',
|
||||
start: () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const IPFS = require('ipfs')
|
||||
@ -56,6 +57,7 @@ const IpfsApis = [
|
||||
},
|
||||
{
|
||||
// js-ipfs-api via local daemon
|
||||
name: 'js-ipfs-api',
|
||||
start: () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
ipfsd.disposableApi((err, ipfs) => {
|
||||
@ -80,7 +82,7 @@ const IpfsApis = [
|
||||
// OrbitServer.start(); // uncomment if running this test suite stand-alone
|
||||
IpfsApis.forEach(function(ipfsApi) {
|
||||
|
||||
describe('CounterStore', function() {
|
||||
describe('CounterStore with ' + ipfsApi.name, function() {
|
||||
this.timeout(40000);
|
||||
let client1, client2;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user