I've been reading articles on this all morning trying to get my environment setup correctly. But for some reason I'm not getting it. My setup-  /app     ... source (mixed js and ts) /scripts     ... copied source (js)     typescripts.js // tr...
I am trying to get Istanbul to work.  I keep getting this message at the end of running istanbul:     No coverage information was collected, exit without writing coverage   information   I have tried everything I could find online as you can see:...
i user this command:   set CODACY_PROJECT_TOKEN=my_token&& istanbul cover --report lcov node_modules/mocha/bin/_mocha -- -r babel-register -r ./test_helper.js \"test/**/*@(.js|.jsx)\"   Then i take passed in all test case but "No...
Gitlab CI requires you to specify a regex to extract the statements code coverage (so that they can display it). Given the build output below (with jest and istanbul), I've managed to come as far as: /Statements.*(\d+\%)/  ... (other build output...
The unit test coverage report from Istanbul in HTML format displays every single folder of the project in the index.html.  It actually flattens the directory structure. Is there an option to render the html report with nested folders?...
The following code snippet has only 50% branch coverage (see below for coverage report) I'm not sure how to improve this since there are no if statements.  I'm thinking Istanbul must do some sort of measuring that i don't fully understand...
In my code I have var es = require('event-stream');   and in my package.json, I have   "scripts": {     "test": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec", }   I only want to cover my main file, howeve...
Say I have the following code:  define([     'a' ], function(a) {     return {         initialize: function() {          },          stuff: function() {          }     }; });   Istanbul reports that only 1/3 functions have been tested. Which...
I have a test project at https://github.com/danielbush/webpack-babel-karma-sourcemap-coverage.  It consists of two simple source files in src/, one with a deliberate error (src/lib2.js).  I want to webpack and transpile using babel from ES6 to ES5 an...
I've built a grunt setup for testing using qunit and generating coverage reports with istanbul but I can't get the storeCoverage task to complete without the error: No coverage information was collected.  Gruntfile.js  module.exports = functi...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.