ui5-test-runner 3.3.2 → 3.3.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui5-test-runner",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "Standalone test runner for UI5",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/coverage.js CHANGED
@@ -169,6 +169,9 @@ module.exports = {
169
169
  match: /(.*\.js)(\?.*)?$/,
170
170
  custom: async (request, response, url) => {
171
171
  if (!url.match(job.coverageProxyInclude) || url.match(job.coverageProxyExclude)) {
172
+ if (job.debugCoverage) {
173
+ getOutput(job).wrap(() => console.log('coverage_proxy ignore', url))
174
+ }
172
175
  return // Ignore
173
176
  }
174
177
  const sourcePath = join(sourcesBasePath, url)
@@ -179,6 +182,9 @@ module.exports = {
179
182
  if (sources[url]) {
180
183
  await sources[url]
181
184
  } else {
185
+ if (job.debugCoverage) {
186
+ getOutput(job).wrap(() => console.log('coverage_proxy instrument', url))
187
+ }
182
188
  sources[url] = await download(origin + url, sourcePath)
183
189
  }
184
190
  } catch (statusCode) {
package/src/job.js CHANGED
@@ -130,7 +130,7 @@ function getCommand (cwd) {
130
130
 
131
131
  // Specific to legacy (and might be used with url if pointing to local project)
132
132
  .option('--ui5 <url>', '[💻] UI5 url', url, 'https://ui5.sap.com')
133
- .option('--no-ui5', '[💻] Disable UI5 mapping (also disable libs)')
133
+ .option('--disable-ui5', '[💻] Disable UI5 mapping (also disable libs)', boolean, false)
134
134
  .option('--libs <lib...>', '[💻] Library mapping (<relative>=<path> or <path>)', arrayOf(lib))
135
135
  .option('--mappings <mapping...>', '[💻] Custom mapping (<match>=<file|url>(<config>))', arrayOf(mapping))
136
136
  .option('--cache <path>', '[💻] Cache UI5 resources locally in the given folder (empty to disable)')
package/src/ui5.js CHANGED
@@ -7,7 +7,7 @@ const { capture } = require('reserve')
7
7
  const { getOutput } = require('./output')
8
8
 
9
9
  module.exports = job => {
10
- if (job.noUi5) {
10
+ if (job.disableUi5) {
11
11
  return []
12
12
  }
13
13