Skip to content

Commit

Permalink
test: robot.loadFile(folder, file) needs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jun 28, 2017
1 parent c8a3c6a commit 7eea539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/diagnostics-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const newTestRobot = function newTestRobot () {
process.env.PORT = '0'
const robot = new Robot(null, 'mock-adapter-v3', true, 'hubot')

robot.loadFile(path.resolve('src/'), 'diagnostics')
robot.loadFile(path.resolve('src/'), 'diagnostics.js')

robot.adapter.on('connected', () => robot.brain.userForId('1', {
name: 'john',
Expand Down

0 comments on commit 7eea539

Please sign in to comment.