@sap-ux/preview-middleware 0.16.5 → 0.16.6
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/README.md +7 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -57,12 +57,12 @@ Array of additional application configurations:
|
|
|
57
57
|
| `developerMode` | `boolean` optional | Enables/disables the runtime adaptation developer mode (only supported for adaptation projects) |
|
|
58
58
|
|
|
59
59
|
### `test`
|
|
60
|
-
| Option | Type | Description
|
|
61
|
-
| --------------- |
|
|
62
|
-
| `framework` | `string` mandatory | Currently `OPA5`, `QUnit` and `Testsuite` are supported. `Testsuite` will generate a testsuite for all configured frameworks that can be be used with a test runner (like e.g. karma)
|
|
63
|
-
| `path` | `string` optional | The mount point to be used for test suite
|
|
64
|
-
| `init` | `string` optional | The mount point to be used for test runner script
|
|
65
|
-
| `pattern` | `string` optional | Optional glob pattern to find the tests. By default `/test/**/*Journey.*` is used for `OPA5` and `/test/**/*Test.*` is used for `QUnit` (n.a. for `Testsuite`)
|
|
60
|
+
| Option | Type | Description |
|
|
61
|
+
| --------------- | -------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
62
|
+
| `framework` | `string` mandatory | Currently `OPA5`, `QUnit` and `Testsuite` are supported. `Testsuite` will generate a testsuite for all configured frameworks that can be be used with a test runner (like e.g. karma) |
|
|
63
|
+
| `path` | `string` optional | The mount point to be used for test suite. By default `/test/opaTests.qunit.html` is used for `OPA5`, `/test/unitTests.qunit.html` is used for `QUnit` and `/test/testsuite.qunit.html` is used for `Testsuite` |
|
|
64
|
+
| `init` | `string` optional | The mount point to be used for custom test runner script |
|
|
65
|
+
| `pattern` | `string` optional | Optional glob pattern to find the tests. By default `/test/**/*Journey.*` is used for `OPA5` and `/test/**/*Test.*` is used for `QUnit` (n.a. for `Testsuite`) |
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
## Usage
|
|
@@ -136,6 +136,7 @@ server:
|
|
|
136
136
|
afterMiddleware: compression
|
|
137
137
|
configuration:
|
|
138
138
|
test:
|
|
139
|
+
- framework: Testsuite
|
|
139
140
|
- framework: QUnit
|
|
140
141
|
- framework: OPA5
|
|
141
142
|
```
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.16.
|
|
12
|
+
"version": "0.16.6",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"mem-fs": "2.1.0",
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
28
|
"@sap-ux/logger": "0.6.0",
|
|
29
|
-
"@sap-ux/btp-utils": "0.15.0",
|
|
30
|
-
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.23",
|
|
31
29
|
"@sap-ux/adp-tooling": "0.12.4",
|
|
32
|
-
"@sap-ux/
|
|
30
|
+
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.23",
|
|
31
|
+
"@sap-ux/project-access": "1.25.0",
|
|
32
|
+
"@sap-ux/btp-utils": "0.15.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/ejs": "3.1.2",
|