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 end test on failed expectation #14

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

Mocha helper does not end test on failed expectation #14

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

Comments

@Naktibalda
Copy link
Contributor

INFO: Track my order failed: AssertionError: expected 'Hello. How can I help you?' to include 'Hello. How can I help you?2'
Unhandled rejection AssertionError: expect.fail()
    at testbuilder.setupTestSuite (E:\projects\botkit-starter-web\node_modules\testmybot\helper\mocha.js:16:21)
    at async.eachSeries (E:\projects\botkit-starter-web\node_modules\testmybot\lib\testbuilder.js:51:17)

This output is printed quickly, but the test keeps running until timeout.

@Naktibalda
Copy link
Contributor Author

This issue is mocha specific, jasmine handles assertionError correctly.

@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