ui5-test-runner 5.6.1 → 5.6.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ui5.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui5-test-runner",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "description": "Standalone test runner for UI5",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/ui5.js CHANGED
@@ -135,7 +135,7 @@ module.exports = {
135
135
  }
136
136
  const relativeUrl = relative.replace(/\//g, '\\/')
137
137
  if (source.startsWith(job.webapp)) {
138
- const relativeAbsoluteUrl = relativePath(job.webapp, source).replace(/\\/g, '/')
138
+ const relativeAbsoluteUrl = '/' + relativePath(job.webapp, source).replace(/\\/g, '/')
139
139
  getOutput(job).debug('libs', `${relative} maps to webapp sub directory, use internal redirection to ${relativeAbsoluteUrl}`)
140
140
  mappings.unshift({
141
141
  match: new RegExp(`\\/resources\\/${relativeUrl}(.*)`),