All files / botbuilder-unit/spec/lib botFactory.js

100% Statements 6/6
100% Branches 0/0
100% Functions 2/2
100% Lines 6/6
1 2 3 4 5 6 7 8 9 10 11 12 13        1x   1x 37x 37x 46x   37x  
/* jslint es6 */
'use strict';
 
 
const builder = require('botbuilder');
 
module.exports = function () {
  let bot = new builder.UniversalBot();
  bot.dialog('/', function (session) {
    session.beginDialog('/test');
  })
  return bot;
}