@travetto/test 8.0.0-alpha.21 → 8.0.0-alpha.22
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/test",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.22",
|
|
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": "^8.0.0-alpha.
|
|
32
|
-
"@travetto/runtime": "^8.0.0-alpha.
|
|
33
|
-
"@travetto/terminal": "^8.0.0-alpha.
|
|
34
|
-
"@travetto/worker": "^8.0.0-alpha.
|
|
31
|
+
"@travetto/registry": "^8.0.0-alpha.21",
|
|
32
|
+
"@travetto/runtime": "^8.0.0-alpha.21",
|
|
33
|
+
"@travetto/terminal": "^8.0.0-alpha.21",
|
|
34
|
+
"@travetto/worker": "^8.0.0-alpha.21",
|
|
35
35
|
"yaml": "^2.9.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@travetto/cli": "^8.0.0-alpha.
|
|
39
|
-
"@travetto/transformer": "^8.0.0-alpha.
|
|
38
|
+
"@travetto/cli": "^8.0.0-alpha.29",
|
|
39
|
+
"@travetto/transformer": "^8.0.0-alpha.15"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
42
|
"@travetto/transformer": {
|
|
@@ -85,7 +85,7 @@ export class TapEmitter implements TestConsumerShape {
|
|
|
85
85
|
const text = asrt.message ? `${asrt.text} (${this.#enhancer.failure(asrt.message)})` : asrt.text;
|
|
86
86
|
const location = asrt.import ? `./${path.relative(process.cwd(), assertSourceFile)}` : '<unknown>';
|
|
87
87
|
let subMessage = [
|
|
88
|
-
this.#enhancer.assertNumber(
|
|
88
|
+
this.#enhancer.assertNumber((subCount += 1)),
|
|
89
89
|
'-',
|
|
90
90
|
this.#enhancer.assertDescription(text),
|
|
91
91
|
StyleUtil.link(
|
|
@@ -109,7 +109,7 @@ export class TapEmitter implements TestConsumerShape {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// Track test result
|
|
112
|
-
let status = `${this.#enhancer.testNumber(
|
|
112
|
+
let status = `${this.#enhancer.testNumber((this.#count += 1))} `;
|
|
113
113
|
switch (test.status) {
|
|
114
114
|
case 'passed':
|
|
115
115
|
`${this.#enhancer.success('ok')} ${status}`;
|