ui5-test-runner 5.3.4 → 5.3.5

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 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.4",
3
+ "version": "5.3.5",
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.2"
49
+ "reserve": "2.0.5"
50
50
  },
51
51
  "devDependencies": {
52
- "@openui5/types": "^1.128.0",
53
- "@ui5/cli": "^4.0.8",
54
- "@ui5/middleware-code-coverage": "^2.0.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.5",
58
- "nyc": "^17.0.0",
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.2",
63
- "ui5-tooling-transpile": "^3.5.0"
62
+ "typescript": "^5.6.3",
63
+ "ui5-tooling-transpile": "^3.5.1"
64
64
  },
65
65
  "optionalDependencies": {
66
66
  "fsevents": "^2.3.3"
@@ -59,7 +59,7 @@
59
59
  suite()
60
60
  post('addTestPages', { type: 'suite', pages })
61
61
  } else if (!QUnit) {
62
- post('addTestPages', { type: 'none ' })
62
+ post('addTestPages', { type: 'none' })
63
63
  }
64
64
  })
65
65
  }())
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
- return join(from, path)
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
  }