Meteor-Community-Packages / meteor-mocha

A Mocha test driver package for Meteor 1.3+. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.
https://packosphere.com/meteortesting/mocha
MIT License
67 stars 40 forks source link

No results in the browser #64

Closed mitar closed 6 years ago

mitar commented 6 years ago

I am testing this package and I have one simple unit test, and I run in regular test mode (not full-app), but when I open the Meteor app in testing in the browser, I see results in the console, but no div is added anywhere in the DOM. (DOM is empty, besides script tags.)

Is there anything else one should do to see also results in the browser?

serut commented 6 years ago

If I'm right, you will see server tests in the console and frontend tests in the browser.

mitar commented 6 years ago

So I see both of them in the console. That part works. But in README they are mentioning also browser output which I do not see.

aldeed commented 6 years ago

As long as TEST_BROWSER_DRIVER env variable is not set, it should be adding the HTML. Maybe this broke at some point. Needs investigation.

mitar commented 6 years ago

I see. I was using TEST_BROWSER_DRIVER. I removed that and it works. Thanks.