datagrok-tools 4.14.55 → 4.14.57
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/bin/utils/test-utils.js +2 -2
- package/package.json +1 -1
package/bin/utils/test-utils.js
CHANGED
|
@@ -37,7 +37,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
37
37
|
const fetch = require('node-fetch');
|
|
38
38
|
const grokDir = _path.default.join(_os.default.homedir(), '.grok');
|
|
39
39
|
const confPath = _path.default.join(grokDir, 'config.yaml');
|
|
40
|
-
const testCollectionTimeout =
|
|
40
|
+
const testCollectionTimeout = 600000;
|
|
41
41
|
const defaultLaunchParameters = exports.defaultLaunchParameters = {
|
|
42
42
|
args: ['--disable-dev-shm-usage', '--disable-features=site-per-process', '--window-size=1920,1080', '--js-flags=--expose-gc'],
|
|
43
43
|
ignoreHTTPSErrors: true,
|
|
@@ -275,7 +275,7 @@ async function loadTestsList(packages, core = false) {
|
|
|
275
275
|
for (const testPackage of packageTestsData) {
|
|
276
276
|
for (const key in testPackage.tests) {
|
|
277
277
|
if (testPackage.tests.hasOwnProperty(key)) {
|
|
278
|
-
for (const testValue of testPackage.tests[key]
|
|
278
|
+
for (const testValue of testPackage.tests[key]?.tests ?? []) {
|
|
279
279
|
testValue.packageName = testPackage.packageName;
|
|
280
280
|
testsList.push(testValue);
|
|
281
281
|
}
|
package/package.json
CHANGED