babel-plugin-istanbul icon indicating copy to clipboard operation
babel-plugin-istanbul copied to clipboard

A babel plugin that adds istanbul instrumentation to ES6 code

Results 61 babel-plugin-istanbul issues
Sort by recently updated
recently updated
newest added

I've got a source file, `myError.js`, being transpiled with `babel-plugin-transform-builtin-extend`: ```javascript export default class MyError extends Error { constructor() { super('this is a MyError'); } } ``` ```json { "presets":...

The `exclude` doesn't work as a string or as an array. I don't see any tests for this in this repo either. I'm pretty sure that it's caused by https://github.com/istanbuljs/istanbuljs/issues/323.

I have read that `babel-plugin-istanbul` supports `exclude`/`include` rules but how to make use of istanbul's `--include-all-sources` flag? I have tried adding `--all` to my `nyc reporter` script but it does...

At my work, we recently started using https://github.com/louisscruz/babel-plugin-transform-react-fela-display-name/ which adds a line like `Foo.displayName="foo"` to certain places in the code. Unfortunately when running tests with `--coverage` flag it seems like...

I posted this issue before on https://github.com/facebook/jest/issues/3959 and https://github.com/lodash/babel-plugin-lodash/issues/179 Using babel-plugin-lodash, collectCoverage enabled and a lodash function as show below imported from test file, results into an error. ```javascript import...

help wanted
triaged
high priority

I've got a project with a mix of .jsx and .js files and have been using nyc by calling `nyc -e .jsx _mocha`, all working well enough so far. Now...

I run around 300 tests on SauceLabs on several browsers. If I enable this plugin (it doesn't matter if the karma coverage preprocessor is enabled or not), the tests on...

triaged

It looks like there is no support for babelPreprocessor's filename and sourceFileName. I have a project where the es6 files have extension '.es6'. When I babel before testing, I convert...

Hi, I've noticed a bug in how `makeShouldSkip` caches the exclusion test function. The current behavior is to only build the function once, and then reuse it for all subsequent...

When using the power-assert *preset* (see power-assert-js/babel-preset-power-assert#4, not when used individually as plugins), Istanbul and power-assert don't like eachother very much. More information over there; I suspect it's a problem...

help wanted
triaged