@sap-ux/ui5-test-writer 0.1.0 → 0.1.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/dist/index.js +5 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -72,8 +72,11 @@ function createPageConfig(manifest, targetKey, forcedAppID) {
72
72
  const appTargets = (_b = (_a = manifest['sap.ui5']) === null || _a === void 0 ? void 0 : _a.routing) === null || _b === void 0 ? void 0 : _b.targets;
73
73
  const target = appTargets && appTargets[targetKey];
74
74
  const { appID, appPath } = getAppFromManifest(manifest, forcedAppID);
75
- if ((target === null || target === void 0 ? void 0 : target.type) === 'Component' && (target === null || target === void 0 ? void 0 : target.name) &&
76
- target.name in types_1.SupportedPageTypes && (target === null || target === void 0 ? void 0 : target.id) && ((_d = (_c = target === null || target === void 0 ? void 0 : target.options) === null || _c === void 0 ? void 0 : _c.settings) === null || _d === void 0 ? void 0 : _d.entitySet)) {
75
+ if ((target === null || target === void 0 ? void 0 : target.type) === 'Component' &&
76
+ (target === null || target === void 0 ? void 0 : target.name) &&
77
+ target.name in types_1.SupportedPageTypes &&
78
+ (target === null || target === void 0 ? void 0 : target.id) &&
79
+ ((_d = (_c = target === null || target === void 0 ? void 0 : target.options) === null || _c === void 0 ? void 0 : _c.settings) === null || _d === void 0 ? void 0 : _d.entitySet)) {
77
80
  return {
78
81
  appPath,
79
82
  appID,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/ui5-test-writer",
3
3
  "description": "SAP UI5 tests writer",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -23,7 +23,7 @@
23
23
  "ejs": "3.1.7",
24
24
  "mem-fs": "2.1.0",
25
25
  "mem-fs-editor": "9.4.0",
26
- "@sap-ux/ui5-config": "0.14.5",
26
+ "@sap-ux/ui5-config": "0.15.1",
27
27
  "i18next": "20.3.2"
28
28
  },
29
29
  "devDependencies": {