@vitest/coverage-istanbul 2.0.0-beta.11 → 2.0.0-beta.12
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 +2 -1
- package/package.json +3 -3
package/dist/provider.js
CHANGED
@@ -318,7 +318,8 @@ class IstanbulCoverageProvider extends BaseCoverageProvider {
|
|
318
318
|
});
|
319
319
|
this.checkThresholds({
|
320
320
|
thresholds: resolvedThresholds,
|
321
|
-
perFile: this.options.thresholds.perFile
|
321
|
+
perFile: this.options.thresholds.perFile,
|
322
|
+
onError: (error) => this.ctx.logger.error(error)
|
322
323
|
});
|
323
324
|
if (this.options.thresholds.autoUpdate && allTestsRun) {
|
324
325
|
if (!this.ctx.server.config.configFile) {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/coverage-istanbul",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.0.0-beta.
|
4
|
+
"version": "2.0.0-beta.12",
|
5
5
|
"description": "Istanbul coverage provider for Vitest",
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
7
7
|
"license": "MIT",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"dist"
|
38
38
|
],
|
39
39
|
"peerDependencies": {
|
40
|
-
"vitest": "2.0.0-beta.
|
40
|
+
"vitest": "2.0.0-beta.12"
|
41
41
|
},
|
42
42
|
"dependencies": {
|
43
43
|
"debug": "^4.3.5",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
"@types/istanbul-lib-source-maps": "^4.0.4",
|
59
59
|
"@types/istanbul-reports": "^3.0.4",
|
60
60
|
"pathe": "^1.1.2",
|
61
|
-
"vitest": "2.0.0-beta.
|
61
|
+
"vitest": "2.0.0-beta.12"
|
62
62
|
},
|
63
63
|
"scripts": {
|
64
64
|
"build": "rimraf dist && rollup -c",
|