@vitest/coverage-istanbul
Advanced tools
Comparing version 0.32.2 to 0.32.3
@@ -107,13 +107,14 @@ import { existsSync, promises } from 'fs'; | ||
class IstanbulCoverageProvider extends BaseCoverageProvider { | ||
constructor() { | ||
super(...arguments); | ||
this.name = "istanbul"; | ||
/** | ||
* Coverage objects collected from workers. | ||
* Some istanbul utilizers write these into file system instead of storing in memory. | ||
* If storing in memory causes issues, we can simply write these into fs in `onAfterSuiteRun` | ||
* and read them back when merging coverage objects in `onAfterAllFilesRun`. | ||
*/ | ||
this.coverages = []; | ||
} | ||
name = "istanbul"; | ||
ctx; | ||
options; | ||
instrumenter; | ||
testExclude; | ||
/** | ||
* Coverage objects collected from workers. | ||
* Some istanbul utilizers write these into file system instead of storing in memory. | ||
* If storing in memory causes issues, we can simply write these into fs in `onAfterSuiteRun` | ||
* and read them back when merging coverage objects in `onAfterAllFilesRun`. | ||
*/ | ||
coverages = []; | ||
initialize(ctx) { | ||
@@ -120,0 +121,0 @@ const config = ctx.config.coverage; |
{ | ||
"name": "@vitest/coverage-istanbul", | ||
"type": "module", | ||
"version": "0.32.2", | ||
"version": "0.32.3", | ||
"description": "Istanbul coverage provider for Vitest", | ||
@@ -56,4 +56,4 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"@types/istanbul-reports": "^3.0.1", | ||
"pathe": "^1.1.0", | ||
"vitest": "0.32.2" | ||
"pathe": "^1.1.1", | ||
"vitest": "0.32.3" | ||
}, | ||
@@ -60,0 +60,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
352
15611