Skip to content

Code Coverage not working for Meteor 1.7.0.3 on Windows #74

@singhsoldier13

Description

@singhsoldier13

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions