'use strict';

var suite = require('../utils/suite.js');
var publish = require('./publish.js');
var subscribe = require('./subscribe.js');
var unsubscribe = require('./unsubscribe.js');
var peers = require('./peers.js');
var ls = require('./ls.js');

const tests = {
  publish: publish.testPublish,
  subscribe: subscribe.testSubscribe,
  unsubscribe: unsubscribe.testUnsubscribe,
  peers: peers.testPeers,
  ls: ls.testLs
};
var testPubsub = suite.createSuite(tests);

module.exports = testPubsub;
