@iobroker/testing 6.2.0 → 6.2.1
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.
|
@@ -379,7 +379,7 @@ function validatePackageFiles(adapterDir, options) {
|
|
|
379
379
|
fs.existsSync(path.join(adapterDir, 'admin/jsonConfig.json5')), 'common.adminUI.config is "json", so admin/jsonConfig.json or admin/jsonConfig.json5 must exist!').to.be.true;
|
|
380
380
|
});
|
|
381
381
|
if (!options?.ignoreJsonConfigValidation) {
|
|
382
|
-
it('Check JSON config file', () => validateJsonConfig(adapterDir, 'config'));
|
|
382
|
+
it('Check JSON config file', () => validateJsonConfig(adapterDir, 'config')).timeout(10000);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
if (iopackContent.common.adminUI?.custom === 'json') {
|
|
@@ -388,7 +388,7 @@ function validatePackageFiles(adapterDir, options) {
|
|
|
388
388
|
fs.existsSync(path.join(adapterDir, 'admin/jsonCustom.json5')), 'common.adminUI.custom is "json", so admin/jsonCustom.json or admin/jsonCustom.json5 must exist!').to.be.true;
|
|
389
389
|
});
|
|
390
390
|
if (!options?.ignoreJsonConfigValidation) {
|
|
391
|
-
it('Check JSON custom config file', () => validateJsonConfig(adapterDir, 'custom'));
|
|
391
|
+
it('Check JSON custom config file', () => validateJsonConfig(adapterDir, 'custom')).timeout(10000);
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
if (iopackContent.common.adminUI?.tab === 'json') {
|
|
@@ -398,7 +398,7 @@ function validatePackageFiles(adapterDir, options) {
|
|
|
398
398
|
(0, chai_1.expect)(!link.includes('..') && !link.includes('://') && !link.includes('%'), 'common.adminTab.link must be a file name relative to the admin directory!').to.be.true;
|
|
399
399
|
});
|
|
400
400
|
if (!options?.ignoreJsonConfigValidation) {
|
|
401
|
-
it('Check JSON tab file', () => validateJsonConfig(adapterDir, 'tab', link));
|
|
401
|
+
it('Check JSON tab file', () => validateJsonConfig(adapterDir, 'tab', link)).timeout(10000);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
});
|