@vitest/coverage-istanbul 0.32.1 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/provider.js +12 -11
- package/package.json +3 -3
package/dist/provider.js
CHANGED
@@ -104,17 +104,18 @@ const isAbsolute = function(p) {
|
|
104
104
|
};
|
105
105
|
|
106
106
|
class IstanbulCoverageProvider extends BaseCoverageProvider {
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
107
|
+
name = "istanbul";
|
108
|
+
ctx;
|
109
|
+
options;
|
110
|
+
instrumenter;
|
111
|
+
testExclude;
|
112
|
+
/**
|
113
|
+
* Coverage objects collected from workers.
|
114
|
+
* Some istanbul utilizers write these into file system instead of storing in memory.
|
115
|
+
* If storing in memory causes issues, we can simply write these into fs in `onAfterSuiteRun`
|
116
|
+
* and read them back when merging coverage objects in `onAfterAllFilesRun`.
|
117
|
+
*/
|
118
|
+
coverages = [];
|
118
119
|
initialize(ctx) {
|
119
120
|
const config = ctx.config.coverage;
|
120
121
|
this.ctx = ctx;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/coverage-istanbul",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.32.
|
4
|
+
"version": "0.32.3",
|
5
5
|
"description": "Istanbul coverage provider for Vitest",
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
7
7
|
"license": "MIT",
|
@@ -53,8 +53,8 @@
|
|
53
53
|
"@types/istanbul-lib-report": "^3.0.0",
|
54
54
|
"@types/istanbul-lib-source-maps": "^4.0.1",
|
55
55
|
"@types/istanbul-reports": "^3.0.1",
|
56
|
-
"pathe": "^1.1.
|
57
|
-
"vitest": "0.32.
|
56
|
+
"pathe": "^1.1.1",
|
57
|
+
"vitest": "0.32.3"
|
58
58
|
},
|
59
59
|
"scripts": {
|
60
60
|
"build": "rimraf dist && rollup -c",
|