mtsmfm / hubot-test-helper

Helper for testing hubot script
MIT License
115 stars 40 forks source link

Doesn't seem to work with custom listeners? #43

Closed miketwo closed 7 years ago

miketwo commented 7 years ago

I'm getting an error:

TypeError: bot.listen is not a function

when using this in conjunction with hubot-conversation, which uses a custom listener.

I'll try to come up with the smallest working example of the problem...

miketwo commented 7 years ago

I've tracked down the problem, but it was on my end. I was (for some odd reason) stuck on v.0.0.7 of the test-helper, which had its dependencies specified as "hubot": ">= 2.6.0 < 2.14.0". The hubot.listen() method was added later than that, so it didn't exist in my version.

Upgrading to v1.5.1 solved the issue.