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

cov_1fanynun32 is not defined #629

Closed
epyx25 opened this issue Jul 12, 2017 · 2 comments
Closed

cov_1fanynun32 is not defined #629

epyx25 opened this issue Jul 12, 2017 · 2 comments

Comments

@epyx25
Copy link

epyx25 commented Jul 12, 2017

Expected Behavior

test runs with nyc cover

Observed Behavior

running npm test produces the following error:

Rejected promise returned by test

Rejection reason:

"cov_1fanynun32 is not defined"

Removing nyc from the test script solves the problem, all tests runs as expected.

Looks like related to #514

Bonus Points! Code (or Repository) that Reproduces Issue

https://github.com/epyx25/test

Here is the test, and here is hte tested class. I also tried to cut out internet connection from the test, and load a html page from file, but it did not change anything.

Forensic Information

Operating System: the operating system you observed the issue on.
OS: Ubuntu 16.04

Environment Information: information about your project's environment, see instructions below:

  1. run the following script:

sh -c 'node --version; npm --version; npm ls' > output.txt

  1. share a gist with the contents of output.txt.
    https://gist.github.com/epyx25/1865ab17587cd3c425cd067ee80ad06a#file-gistfile1-txt
@keithkml
Copy link

See solution at #514 (comment)

@JaKXz
Copy link
Member

JaKXz commented Jul 4, 2018

I'm going to close this in favour of #514. Thank you for the issue!

@JaKXz JaKXz closed this as completed Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants