@travetto/test 7.1.2 → 7.1.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/package.json +7 -7
- package/src/execute/run.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/test",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Declarative test framework",
|
|
6
6
|
"keywords": [
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"directory": "module/test"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@travetto/registry": "^7.1.
|
|
32
|
-
"@travetto/runtime": "^7.1.
|
|
33
|
-
"@travetto/terminal": "^7.1.
|
|
34
|
-
"@travetto/worker": "^7.1.
|
|
31
|
+
"@travetto/registry": "^7.1.3",
|
|
32
|
+
"@travetto/runtime": "^7.1.3",
|
|
33
|
+
"@travetto/terminal": "^7.1.3",
|
|
34
|
+
"@travetto/worker": "^7.1.3",
|
|
35
35
|
"yaml": "^2.8.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@travetto/cli": "^7.1.
|
|
39
|
-
"@travetto/transformer": "^7.1.
|
|
38
|
+
"@travetto/cli": "^7.1.3",
|
|
39
|
+
"@travetto/transformer": "^7.1.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
42
|
"@travetto/transformer": {
|
package/src/execute/run.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { createReadStream } from 'node:fs';
|
|
|
2
2
|
import fs from 'node:fs/promises';
|
|
3
3
|
import readline from 'node:readline/promises';
|
|
4
4
|
import path from 'node:path';
|
|
5
|
-
import { spawn } from 'node:child_process';
|
|
6
5
|
|
|
7
6
|
import { Env, ExecUtil, Util, RuntimeIndex, Runtime, TimeUtil, JSONUtil } from '@travetto/runtime';
|
|
8
7
|
import { WorkPool } from '@travetto/worker';
|
|
@@ -80,7 +79,7 @@ export class RunUtil {
|
|
|
80
79
|
*/
|
|
81
80
|
static async resolveGlobInput({ globs, tags, metadata }: TestGlobInput): Promise<TestRun[]> {
|
|
82
81
|
const digestProcess = await ExecUtil.getResult(
|
|
83
|
-
|
|
82
|
+
ExecUtil.spawnPackageCommand('trv', ['test:digest', '-o', 'json', ...globs], {
|
|
84
83
|
env: { ...process.env, ...Env.FORCE_COLOR.export(0), ...Env.NO_COLOR.export(true) },
|
|
85
84
|
}),
|
|
86
85
|
{ catch: true }
|