@travetto/test 3.3.3 → 3.3.4
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/worker/standard.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/test",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"description": "Declarative test framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unit-testing",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"directory": "module/test"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/base": "^3.3.
|
|
31
|
-
"@travetto/registry": "^3.3.
|
|
30
|
+
"@travetto/base": "^3.3.3",
|
|
31
|
+
"@travetto/registry": "^3.3.3",
|
|
32
32
|
"@travetto/terminal": "^3.3.1",
|
|
33
|
-
"@travetto/worker": "^3.3.
|
|
34
|
-
"@travetto/yaml": "^3.3.
|
|
33
|
+
"@travetto/worker": "^3.3.3",
|
|
34
|
+
"@travetto/yaml": "^3.3.3"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@travetto/cli": "^3.3.
|
|
38
|
-
"@travetto/transformer": "^3.3.
|
|
37
|
+
"@travetto/cli": "^3.3.4",
|
|
38
|
+
"@travetto/transformer": "^3.3.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@travetto/transformer": {
|
package/src/worker/standard.ts
CHANGED
|
@@ -29,6 +29,9 @@ export function buildStandardTestManager(consumer: TestConsumer): () => Worker<s
|
|
|
29
29
|
active: true,
|
|
30
30
|
async destroy(): Promise<void> { },
|
|
31
31
|
async execute(file: string): Promise<void> {
|
|
32
|
+
|
|
33
|
+
process.send?.({ type: 'log', message: `Worker Executing ${file}` });
|
|
34
|
+
|
|
32
35
|
const event = buildEvent(file);
|
|
33
36
|
|
|
34
37
|
const { module } = RootIndex.getEntry(event.file!)!;
|
|
@@ -69,6 +72,8 @@ export function buildStandardTestManager(consumer: TestConsumer): () => Worker<s
|
|
|
69
72
|
// Kill on complete
|
|
70
73
|
await channel.destroy();
|
|
71
74
|
|
|
75
|
+
process.send?.({ type: 'log', message: `Worker Finished ${file}` });
|
|
76
|
+
|
|
72
77
|
// If we received an error, throw it
|
|
73
78
|
if (error) {
|
|
74
79
|
throw ErrorUtil.deserializeError(error);
|