gratifyguy / botkit-mock

Write tests for Botkit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please provide a more complete example

tdi opened this issue · comments

Hi

It would be nice if you provided a complete working example of using your mock with. Can it be used with jasmine?

Yes, it can be used with any testing development framework (mocha/jasmine/etc).

All of the bot actions being tested are in bot/indexController.js, and can be thrown into any project using botkit.

We're working on pushing an example app to the repo. I'll close this when that's pushed.

app.js and sample jasmine tests included in master.