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

Mocha helper does not handle rejections in readConvo method #20

Closed
Naktibalda opened this issue Aug 30, 2017 · 2 comments
Closed

Mocha helper does not handle rejections in readConvo method #20

Naktibalda opened this issue Aug 30, 2017 · 2 comments
Assignees
Labels

Comments

@Naktibalda
Copy link
Contributor

Similar to #14, made more obvious by #19

INFO: running testcase First testcase
Unhandled rejection AssertionError: Conversation is empty
    at testbuilder.setupTestSuite (E:\projects\botkit-starter-web\node_modules\testmybot\helper\mocha.js:16:21)
    at convo.readConvo.then (E:\projects\botkit-starter-web\node_modules\testmybot\lib\testbuilder.js:59:11)
...

    1) First testcase


  0 passing (1m)
  1 failing

  1) TestMyBot Test Suite for botkit-starter-web First testcase:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
@codeforequity-at
Copy link
Owner

Marked as bug.

@codeforequity-at
Copy link
Owner

Solved with latest commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants