ui5-test-runner 5.7.3 → 5.7.4

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": "5.7.3",
3
+ "version": "5.7.4",
4
4
  "description": "Standalone test runner for UI5",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -24,9 +24,9 @@ async function main () {
24
24
  const job = require(join(reportDir, 'job.js'))
25
25
  o('<?xml version="1.0" encoding="UTF-8"?>')
26
26
  o('<testsuites>')
27
- const urls = Object.keys(job.qunitPages)
27
+ const urls = Object.keys(job.qunitPages || {})
28
28
  for (const url of urls) {
29
- const qunitPage = job.qunitPages[url]
29
+ const qunitPage = job.qunitPages[url] || { modules: [] }
30
30
  for (const module of qunitPage.modules) {
31
31
  o(` <testsuite
32
32
  name="${xmlEscape(url)}"