Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("responds when asked for help", function(done) {
adapter.on("send", function(envelope, strings) {
expect(strings[0]).to.be.a('string');
done();
});
adapter.receive(new TextMessage(user, "Hubot help"));
});