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

83.33% Statements 5/6
100% Branches 0/0
50% Functions 1/2
83.33% Lines 5/6
1 2 3 4 5 6 7 8 9 10 11 12 13        1x   1x 37x 37x     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;
}