All files / Nodejs/tests-old api-subscribeTest.js

0% Statements 0/8
100% Branches 0/0
0% Functions 0/3
0% Lines 0/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                             
"use strict";
var moment = require("moment");
var api = require("../api.js")({
	domainName: "micro.leoinsights.com"
});
 
describe("subscribe", function () {
	it("Should be retrieve a nicely formatted workflow", function (done) {
		this.timeout(60000);
		api.subscribe("my_test_bot", "subscribe_queue").then((data) => {
			console.log(data);
			done();
		}).catch(done);
	});
});