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

Is Code Coverage broken? #3028

Open
ris58h opened this issue May 10, 2018 · 1 comment
Open

Is Code Coverage broken? #3028

ris58h opened this issue May 10, 2018 · 1 comment

Comments

@ris58h
Copy link
Contributor

ris58h commented May 10, 2018

I've tried to run Code Coverage (after installing dependencies of course) but I've got an error.

npm run coverage

vimium@ coverage /path_to_vimium
cake coverage

/path_to_vimium/lib/utils.js:8
if (window.forTrusted == null) {
^

ReferenceError: window is not defined
at Object. (/path_to_vimium/lib/utils.js:8:3)
at Object. (/path_to_vimium/lib/utils.js:492:4)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (/path_to_vimium/node_modules/coffeescript/lib/coffee-script/register.js:45:36)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
at Module.require (module.js:606:17)
at require (internal/module.js:11:18)
at Object.action (/path_to_vimium/Cakefile:202:13)
at invoke (/path_to_vimium/node_modules/coffeescript/lib/coffee-script/cake.js:44:26)
at Object.exports.run (/path_to_vimium/node_modules/coffeescript/lib/coffee-script/cake.js:70:20)
at Object. (/path_to_vimium/node_modules/coffeescript/bin/cake:15:42)
at Module._compile (module.js:662:30)
at Object.Module._extensions..js (module.js:673:10)
at Module.load (module.js:575:32)
at tryModuleLoad (module.js:515:12)
at Function.Module._load (module.js:507:3)
at Function.Module.runMain (module.js:703:10)
at startup (bootstrap_node.js:193:16)
at bootstrap_node.js:665:3

@smblott-github
Copy link
Collaborator

It's probably broken. I've never run it. Ever.

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