Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests for require(hubot/es2015) #1359

Merged
merged 2 commits into from
Jun 28, 2017
Merged

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Jun 25, 2017

@gr2m gr2m mentioned this pull request Jun 25, 2017
5 tasks
@gr2m gr2m force-pushed the evolution/4/test-es2015-export branch 2 times, most recently from ae272d5 to c99cbff Compare June 27, 2017 00:09
@gr2m gr2m force-pushed the evolution/4/test-es2015-export branch from c99cbff to e744f62 Compare June 27, 2017 00:10
Copy link
Member

@technicalpickles technicalpickles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good as far as I can tell.

@@ -24,6 +24,6 @@ module.exports = {
CatchAllMessage: Message.CatchAllMessage,

loadBot (adapterPath, adapterName, enableHttpd, botName, botAlias) {
return new Robot(adapterPath, adapterName, enableHttpd, botName, botAlias)
return new module.exports.Robot(adapterPath, adapterName, enableHttpd, botName, botAlias)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this not working previously?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gr2m gr2m merged commit e744f62 into master Jun 28, 2017
@gr2m gr2m deleted the evolution/4/test-es2015-export branch June 28, 2017 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants