@iobroker/legacy-testing 0.3.7 → 1.0.0
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 +3 -0
- package/package.json +2 -2
- package/setup.js +5 -0
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
|
|
|
14
14
|
|
|
15
15
|
## Changelog
|
|
16
16
|
<!-- ### **WORK IN PROGRESS** -->
|
|
17
|
+
### 1.0.0 (2023-09-18)
|
|
18
|
+
* (bluefox) Corrected error if systemConfig requested
|
|
19
|
+
|
|
17
20
|
### 0.3.7 (2023-07-07)
|
|
18
21
|
* (bluefox) Allowed using the specific version of js-controller
|
|
19
22
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "1.0.0",
|
|
3
3
|
"name": "@iobroker/legacy-testing",
|
|
4
4
|
"main": "setup.js",
|
|
5
5
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"mocha": "^10.2.0",
|
|
28
|
-
"chai": "^4.3.
|
|
28
|
+
"chai": "^4.3.8"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@alcalzone/release-script": "^3.6.0",
|
package/setup.js
CHANGED
|
@@ -543,6 +543,11 @@ function clearDB() {
|
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
function setupController(preInstalledAdapters, cb) {
|
|
546
|
+
if (typeof preInstalledAdapters === 'function') {
|
|
547
|
+
cb = preInstalledAdapters;
|
|
548
|
+
preInstalledAdapters = null;
|
|
549
|
+
}
|
|
550
|
+
|
|
546
551
|
installJsController(preInstalledAdapters, async isInitialized => {
|
|
547
552
|
try {
|
|
548
553
|
clearControllerLog();
|