mad-eye / meteor-mocha-web

easily and safely run mocha tests within the Meteor framework
MIT License
145 stars 46 forks source link

Error while testing packages #184

Closed sungwoncho closed 9 years ago

sungwoncho commented 9 years ago

When testing packages by running:

meteor test-packages --velocity --driver-package velocity:console-reporter

No matter the tests pass or fail, I always get:

error calling testsComplete function { [Error: Match error: Expected string, got undefined]

Please see this repo for reproduction: https://github.com/sungwoncho/meteor-mocha-issue

rissem commented 9 years ago

@sungwoncho thanks for reporting, and thanks for a clear reproduction repo.

You shouldn't need to use the console reporter when testing in this way. I was able to successfully run your test at the command line with just

meteor test-packages --velocity

And within the browser using

meteor test-packages --velocity --driver-package respondly:test-reporter

Hope this helps.