virmator 14.33.0 → 14.35.0
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/README.md +3 -0
- package/dist/index.d.ts +8 -2
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -250,8 +250,11 @@ Note that as of v13, this package is now in ESM.
|
|
|
250
250
|
|
|
251
251
|
This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.
|
|
252
252
|
|
|
253
|
+
Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.
|
|
254
|
+
|
|
253
255
|
- Examples
|
|
254
256
|
- Run tests in a browser: `virmator test web`
|
|
257
|
+
- Record what each test ran: `virmator test node --footprint`
|
|
255
258
|
- Run tests in Node: `virmator test node`
|
|
256
259
|
- Deps
|
|
257
260
|
- [@augment-vir/test](https://npmjs.com/package/@augment-vir/test)
|
package/dist/index.d.ts
CHANGED
|
@@ -2056,10 +2056,13 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
2056
2056
|
cliCommands: NoInfer<{
|
|
2057
2057
|
readonly test: {
|
|
2058
2058
|
readonly doc: {
|
|
2059
|
-
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n "];
|
|
2059
|
+
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n ", "\n Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.\n "];
|
|
2060
2060
|
readonly examples: readonly [{
|
|
2061
2061
|
readonly title: "Run tests in a browser";
|
|
2062
2062
|
readonly content: "virmator test web";
|
|
2063
|
+
}, {
|
|
2064
|
+
readonly title: "Record what each test ran";
|
|
2065
|
+
readonly content: "virmator test node --footprint";
|
|
2063
2066
|
}, {
|
|
2064
2067
|
readonly title: "Run tests in Node";
|
|
2065
2068
|
readonly content: "virmator test node";
|
|
@@ -2263,10 +2266,13 @@ export declare const defaultVirmatorPlugins: (Readonly<Readonly<{
|
|
|
2263
2266
|
executor: import("@virmator/core").VirmatorPluginExecutor<NoInfer<{
|
|
2264
2267
|
readonly test: {
|
|
2265
2268
|
readonly doc: {
|
|
2266
|
-
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n "];
|
|
2269
|
+
readonly sections: readonly ["\n Runs tests. An environment is required.\n ", "\n This cannot be run in a mono-repo root, it can only be run for mono-repo sub-packages or a top-level singular package.\n ", "\n Pass --footprint to record which functions each test file actually ran, as raw v8 coverage in node_modules/.cache/virmator/footprints. Tests still run normally, coverage is not calculated. This cannot be combined with the coverage command, which needs the same v8 output.\n "];
|
|
2267
2270
|
readonly examples: readonly [{
|
|
2268
2271
|
readonly title: "Run tests in a browser";
|
|
2269
2272
|
readonly content: "virmator test web";
|
|
2273
|
+
}, {
|
|
2274
|
+
readonly title: "Record what each test ran";
|
|
2275
|
+
readonly content: "virmator test node --footprint";
|
|
2270
2276
|
}, {
|
|
2271
2277
|
readonly title: "Run tests in Node";
|
|
2272
2278
|
readonly content: "virmator test node";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "virmator",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.35.0",
|
|
4
4
|
"description": "Handle common package configs, commands, and dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -40,26 +40,26 @@
|
|
|
40
40
|
"test:update": "npm test update"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@augment-vir/common": "^32.2.
|
|
44
|
-
"@augment-vir/node": "^32.2.
|
|
45
|
-
"@virmator/compile": "^14.
|
|
46
|
-
"@virmator/core": "^14.
|
|
47
|
-
"@virmator/deps": "^14.
|
|
48
|
-
"@virmator/docs": "^14.
|
|
49
|
-
"@virmator/format": "^14.
|
|
50
|
-
"@virmator/frontend": "^14.
|
|
51
|
-
"@virmator/help": "^14.
|
|
52
|
-
"@virmator/init": "^14.
|
|
53
|
-
"@virmator/lint": "^14.
|
|
54
|
-
"@virmator/publish": "^14.
|
|
55
|
-
"@virmator/spellcheck": "^14.
|
|
56
|
-
"@virmator/test": "^14.
|
|
57
|
-
"tsx": "^4.23.
|
|
43
|
+
"@augment-vir/common": "^32.2.4",
|
|
44
|
+
"@augment-vir/node": "^32.2.4",
|
|
45
|
+
"@virmator/compile": "^14.35.0",
|
|
46
|
+
"@virmator/core": "^14.35.0",
|
|
47
|
+
"@virmator/deps": "^14.35.0",
|
|
48
|
+
"@virmator/docs": "^14.35.0",
|
|
49
|
+
"@virmator/format": "^14.35.0",
|
|
50
|
+
"@virmator/frontend": "^14.35.0",
|
|
51
|
+
"@virmator/help": "^14.35.0",
|
|
52
|
+
"@virmator/init": "^14.35.0",
|
|
53
|
+
"@virmator/lint": "^14.35.0",
|
|
54
|
+
"@virmator/publish": "^14.35.0",
|
|
55
|
+
"@virmator/spellcheck": "^14.35.0",
|
|
56
|
+
"@virmator/test": "^14.35.0",
|
|
57
|
+
"tsx": "^4.23.13"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@augment-vir/assert": "^32.2.
|
|
61
|
-
"@augment-vir/test": "^32.2.
|
|
62
|
-
"@types/node": "^26.
|
|
60
|
+
"@augment-vir/assert": "^32.2.4",
|
|
61
|
+
"@augment-vir/test": "^32.2.4",
|
|
62
|
+
"@types/node": "^26.4.0",
|
|
63
63
|
"c8": "^12.0.0",
|
|
64
64
|
"istanbul-smart-text-reporter": "^1.1.5"
|
|
65
65
|
},
|