ui5-test-runner 3.1.0 → 3.1.1
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 +2 -2
- package/src/output.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ui5-test-runner",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Standalone test runner for UI5",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jest": "^29.5.0",
|
|
56
56
|
"nock": "^13.3.1",
|
|
57
57
|
"nyc": "^15.1.0",
|
|
58
|
-
"standard": "^17.
|
|
58
|
+
"standard": "^17.1.0"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
61
|
"fsevents": "^2.3.2"
|
package/src/output.js
CHANGED
|
@@ -9,7 +9,7 @@ const {
|
|
|
9
9
|
$probeUrlsCompleted,
|
|
10
10
|
$testPagesCompleted
|
|
11
11
|
} = require('./symbols')
|
|
12
|
-
const { noop, pad } = require('./tools')
|
|
12
|
+
const { filename, noop, pad } = require('./tools')
|
|
13
13
|
|
|
14
14
|
const inJest = typeof jest !== 'undefined'
|
|
15
15
|
const interactive = process.stdout.columns !== undefined && !inJest
|
|
@@ -305,7 +305,7 @@ function build (job) {
|
|
|
305
305
|
},
|
|
306
306
|
|
|
307
307
|
browserStart (url) {
|
|
308
|
-
const text = p80()`${getElapsed()} >> ${pad.lt(url)}`
|
|
308
|
+
const text = p80()`${getElapsed()} >> ${pad.lt(url)} [${filename(url)}]`
|
|
309
309
|
if (interactive) {
|
|
310
310
|
output(job, text)
|
|
311
311
|
} else {
|
|
@@ -319,7 +319,7 @@ function build (job) {
|
|
|
319
319
|
if (page) {
|
|
320
320
|
duration = ' (' + formatTime(page.end - page.start) + ')'
|
|
321
321
|
}
|
|
322
|
-
const text = p80()`${getElapsed()} << ${pad.lt(url
|
|
322
|
+
const text = p80()`${getElapsed()} << ${pad.lt(url)} ${duration} [${filename(url)}]`
|
|
323
323
|
if (interactive) {
|
|
324
324
|
output(job, text)
|
|
325
325
|
} else {
|