Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* Created by lmarkus on 9/30/15.
*/
/*eslint max-nested-callbacks:[0]*/
'use strict';
require('coffee-script/register');
var hubot = require('hubot'),
Robot = hubot.Robot,
Message = hubot.TextMessage,
utils = require('../utils'),
assert = require('chai').assert,
Conversation = require('../../'),
c = require('../../lib/constants'),
Dialog = require('../../lib/Dialog'),
testUser = new hubot.User('Lenny', {room: 'The Lounge'})
;
describe('#Hubot Conversation', function () {
var bot, switchBoard, messenger, messages;
beforeEach(function () {
//reset the bot;
bot = new Robot('hubot/src/adapters', 'shell');
switchBoard = new Conversation(bot);