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

Code Coverage not working for Meteor 1.7.0.3 on Windows #74

Open
singhsoldier13 opened this issue Jul 5, 2018 · 1 comment
Open

Code Coverage not working for Meteor 1.7.0.3 on Windows #74

singhsoldier13 opened this issue Jul 5, 2018 · 1 comment

Comments

@singhsoldier13
Copy link

singhsoldier13 commented Jul 5, 2018

I am running meteortesting-mocha package to run coverage and it is working fine on OSX but not on Windows 10.
Under coverage folder, few files are created e.g, index.html:
`<!doctype html>

<title>Code coverage report for All files</title> <style type='text/css'> .coverage-summary .sorter { background-image: url(C:\Users\singh\projects\pathways-meteor\coverage\sort-arrow-sprite.png); } </style>

All files

Unknown% Statements 0/0
Unknown% Branches 0/0
Unknown% Functions 0/0
Unknown% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
Code coverage generated by istanbul at Thu Jul 05 2018 16:29:19 GMT-0600 (Mountain Daylight Time)
<script src="C:\Users\singh\projects\pathways-meteor\coverage\prettify.js"></script> <script> window.onload = function () { if (typeof prettyPrint === 'function') { prettyPrint(); } }; </script> <script src="C:\Users\singh\projects\pathways-meteor\coverage\sorter.js"></script> <script src="C:\Users\singh\projects\pathways-meteor\coverage\block-navigation.js"></script> `

I am executing tests in watch mode and then execute Meteor.sendCoverage and Meteor.export in the browser, as suggested by ReadMe.

@serut
Copy link
Owner

serut commented Jul 6, 2018

Hello !

Can you try to run the https://github.com/serut/meteor-coverage-app-exemple/tree/master/bare-exemple on your Windows with verbose logs and paste logs here ?

I already identified this package has issue on Windows, it is written here but I don't remember exactly why ...

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

No branches or pull requests

2 participants