ui5-test-runner 5.11.0 → 5.11.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 +1 -1
- package/src/ui5.js +2 -2
package/package.json
CHANGED
package/src/ui5.js
CHANGED
|
@@ -18,7 +18,7 @@ const buildCacheBase = job => {
|
|
|
18
18
|
|
|
19
19
|
const ui5mappings = job => {
|
|
20
20
|
const cacheBase = buildCacheBase(job)
|
|
21
|
-
const match = /\/((?:test-)?resources\/.*)/
|
|
21
|
+
const match = /\/((?:test-)?resources\/.*)/ // Captured value never starts with /
|
|
22
22
|
const ifCacheEnabled = (request, url, match) => job.cache
|
|
23
23
|
const uncachable = {}
|
|
24
24
|
const cachingInProgress = {}
|
|
@@ -80,7 +80,7 @@ const ui5mappings = job => {
|
|
|
80
80
|
// UI5 from url
|
|
81
81
|
method: ['GET', 'HEAD'],
|
|
82
82
|
match,
|
|
83
|
-
url:
|
|
83
|
+
url: new URL('$1', job.ui5).toString(),
|
|
84
84
|
'ignore-unverifiable-certificate': true
|
|
85
85
|
}]
|
|
86
86
|
|