@vitest/coverage-v8 2.0.0-beta.12 → 2.0.0-beta.13
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 +3 -3
- package/package.json +5 -5
package/dist/provider.js
CHANGED
@@ -19,7 +19,7 @@ import { provider } from 'std-env';
|
|
19
19
|
import { stripLiteral } from 'strip-literal';
|
20
20
|
import createDebug from 'debug';
|
21
21
|
import { builtinModules } from 'node:module';
|
22
|
-
import { coverageConfigDefaults
|
22
|
+
import { coverageConfigDefaults } from 'vitest/config';
|
23
23
|
import { BaseCoverageProvider } from 'vitest/coverage';
|
24
24
|
import _TestExclude from 'test-exclude';
|
25
25
|
|
@@ -2289,8 +2289,8 @@ class V8CoverageProvider extends BaseCoverageProvider {
|
|
2289
2289
|
};
|
2290
2290
|
this.testExclude = new _TestExclude({
|
2291
2291
|
cwd: ctx.config.root,
|
2292
|
-
include:
|
2293
|
-
exclude:
|
2292
|
+
include: this.options.include,
|
2293
|
+
exclude: this.options.exclude,
|
2294
2294
|
excludeNodeModules: true,
|
2295
2295
|
extension: this.options.extension,
|
2296
2296
|
relativePath: !this.options.allowExternal
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitest/coverage-v8",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.0.0-beta.
|
4
|
+
"version": "2.0.0-beta.13",
|
5
5
|
"description": "V8 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.13"
|
41
41
|
},
|
42
42
|
"dependencies": {
|
43
43
|
"@ampproject/remapping": "^2.3.0",
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"debug": "^4.3.5",
|
46
46
|
"istanbul-lib-coverage": "^3.2.2",
|
47
47
|
"istanbul-lib-report": "^3.0.1",
|
48
|
-
"istanbul-lib-source-maps": "^5.0.
|
48
|
+
"istanbul-lib-source-maps": "^5.0.6",
|
49
49
|
"istanbul-reports": "^3.1.7",
|
50
50
|
"magic-string": "^0.30.10",
|
51
51
|
"magicast": "^0.3.4",
|
@@ -62,8 +62,8 @@
|
|
62
62
|
"@types/istanbul-reports": "^3.0.4",
|
63
63
|
"pathe": "^1.1.2",
|
64
64
|
"v8-to-istanbul": "^9.3.0",
|
65
|
-
"vite-node": "2.0.0-beta.
|
66
|
-
"vitest": "2.0.0-beta.
|
65
|
+
"vite-node": "2.0.0-beta.13",
|
66
|
+
"vitest": "2.0.0-beta.13"
|
67
67
|
},
|
68
68
|
"scripts": {
|
69
69
|
"build": "rimraf dist && rollup -c",
|