@virmator/plugin-testing 14.30.3 → 14.30.5
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/test-plugin.js +9 -7
- package/package.json +4 -4
package/dist/test-plugin.js
CHANGED
|
@@ -53,13 +53,15 @@ export async function testPlugin({ shouldPass, context, plugin, cliCommand, cwd,
|
|
|
53
53
|
excludeList: fullExcludeList,
|
|
54
54
|
});
|
|
55
55
|
try {
|
|
56
|
-
const error = await wrapInTry(() =>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
const error = await wrapInTry(() => {
|
|
57
|
+
return executeVirmatorCommand({
|
|
58
|
+
plugins: Array.isArray(plugin) ? plugin : [plugin],
|
|
59
|
+
cliCommand,
|
|
60
|
+
cwd,
|
|
61
|
+
log: logger,
|
|
62
|
+
concurrency: 1,
|
|
63
|
+
});
|
|
64
|
+
});
|
|
63
65
|
if (error instanceof VirmatorNoTraceError && hideNoTraceTraces) {
|
|
64
66
|
if (error.message) {
|
|
65
67
|
logger.error(error.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/plugin-testing",
|
|
3
|
-
"version": "14.30.
|
|
3
|
+
"version": "14.30.5",
|
|
4
4
|
"description": "Testing for virmator plugins.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@augment-vir/common": "^32.2.1",
|
|
36
36
|
"@augment-vir/node": "^32.2.1",
|
|
37
37
|
"@augment-vir/test": "^32.2.1",
|
|
38
|
-
"@virmator/core": "^14.30.
|
|
38
|
+
"@virmator/core": "^14.30.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/node": "^26.1.
|
|
41
|
+
"@types/node": "^26.1.2",
|
|
42
42
|
"c8": "^12.0.0",
|
|
43
43
|
"istanbul-smart-text-reporter": "^1.1.5",
|
|
44
|
-
"tsx": "^4.23.
|
|
44
|
+
"tsx": "^4.23.5",
|
|
45
45
|
"typescript": "^6.0.3"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|