swc-plugin-coverage-instrument icon indicating copy to clipboard operation
swc-plugin-coverage-instrument copied to clipboard

istanbuljs compatible SWC coverage instrumentation plugin

Results 9 swc-plugin-coverage-instrument issues
Sort by recently updated
recently updated
newest added

This is a minimal case for reproduction ``` typescript let i = 0; const t = true && { renderFn: () => ( i++ ), } t.renderFn(); ``` babel result:...

Hi, Thanks for providing this plugin, I was wondering if it was possible to include or exclude files for coverage similar to how nyc has the option to here? https://github.com/istanbuljs/nyc#using-include-and-exclude-arrays...

Hi, First of all, thanks for your plugin, it help us greatly in our tooling process in order to pass our quality gate ❤️ We have found a very tricky...

https://github.com/canyon-project/canyon/blob/94ebe1ed20b80d0b9128e8f90da66db445be71b1/packages/canyon-platform/vite.config.ts#L12 This is my SWC plugin configuration. When I use the latest swc-core(1.7.0), there will be an error message. transforming (1) index.htmlthread '' panicked at /Users/ojkwon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.44/src/impls/core/mod.rs:266:67: called `Result::unwrap()` on an...

# Issue After updating to version over 0.0.21 (with the whole SWC ecosystem updated accordingly (see versions below), we encounter an issue when running instrumented code. Some component are simply...

Accepting PR

With next 14.2.5 (I also tested with 14.2.25) using `next dev` results in the process silently failing and with `next build` a "Segmentation Fault" is printed out. Of the plugin...

Man swc moves fast! I rely on this great plugin as well as Rspack. My upgrade path for Rspack is blocked on this: ```sh #25 31.41 × Module build failed:...

Following class is incompletely covered, the code in `propertyFunction` is not covered, only the assignment: ``` class Testing { method() { return 'Hello, World! ' + this.propertyFunction(); } propertyFunction =...

Accepting PR