ui5-test-runner 5.3.4 → 5.3.6
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/index.js +1 -0
- package/package.json +9 -9
- package/src/defaults/junit-xml-report.js +5 -1
- package/src/inject/qunit-redirect.js +1 -1
- package/src/job.js +4 -1
package/index.js
CHANGED
|
@@ -49,6 +49,7 @@ async function main () {
|
|
|
49
49
|
return capabilities(job)
|
|
50
50
|
}
|
|
51
51
|
const configuration = await reserveConfigurationFactory(job)
|
|
52
|
+
output.debug('reserve', 'configuration', configuration)
|
|
52
53
|
const server = serve(configuration)
|
|
53
54
|
if (job.logServer) {
|
|
54
55
|
server.on('redirected', output.redirected)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ui5-test-runner",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.6",
|
|
4
4
|
"description": "Standalone test runner for UI5",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"commander": "^12.1.0",
|
|
47
47
|
"punybind": "^1.2.1",
|
|
48
48
|
"punyexpr": "^1.0.4",
|
|
49
|
-
"reserve": "2.0.
|
|
49
|
+
"reserve": "2.0.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@openui5/types": "^1.
|
|
53
|
-
"@ui5/cli": "^4.0.
|
|
54
|
-
"@ui5/middleware-code-coverage": "^2.0.
|
|
52
|
+
"@openui5/types": "^1.130.0",
|
|
53
|
+
"@ui5/cli": "^4.0.10",
|
|
54
|
+
"@ui5/middleware-code-coverage": "^2.0.1",
|
|
55
55
|
"dotenv": "^16.4.5",
|
|
56
56
|
"jest": "^29.7.0",
|
|
57
|
-
"nock": "^13.5.
|
|
58
|
-
"nyc": "^17.
|
|
57
|
+
"nock": "^13.5.6",
|
|
58
|
+
"nyc": "^17.1.0",
|
|
59
59
|
"rimraf": "^6.0.1",
|
|
60
60
|
"standard": "^17.1.2",
|
|
61
61
|
"start-server-and-test": "^2.0.8",
|
|
62
|
-
"typescript": "^5.6.
|
|
63
|
-
"ui5-tooling-transpile": "^3.5.
|
|
62
|
+
"typescript": "^5.6.3",
|
|
63
|
+
"ui5-tooling-transpile": "^3.5.1"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
66
66
|
"fsevents": "^2.3.3"
|
|
@@ -55,9 +55,13 @@ async function main () {
|
|
|
55
55
|
test.logs
|
|
56
56
|
.filter(({ result }) => !result)
|
|
57
57
|
.forEach(log => {
|
|
58
|
-
|
|
58
|
+
if (log.message) {
|
|
59
|
+
o(` <failure
|
|
59
60
|
message="${xmlEscape(log.message)}"
|
|
60
61
|
>`)
|
|
62
|
+
} else {
|
|
63
|
+
o(' <failure>')
|
|
64
|
+
}
|
|
61
65
|
if (log.source) {
|
|
62
66
|
o(xmlEscape(log.source))
|
|
63
67
|
}
|
package/src/job.js
CHANGED
|
@@ -207,7 +207,10 @@ function checkAccess ({ path, label, file /*, write */ }) {
|
|
|
207
207
|
function finalize (job) {
|
|
208
208
|
function toAbsolute (path, from = job.cwd) {
|
|
209
209
|
if (!isAbsolute(path)) {
|
|
210
|
-
|
|
210
|
+
path = join(from, path)
|
|
211
|
+
}
|
|
212
|
+
if (path.endsWith('/') || path.endsWith('\\')) {
|
|
213
|
+
return path.substring(0, path.length - 1)
|
|
211
214
|
}
|
|
212
215
|
return path
|
|
213
216
|
}
|