datagrok-tools 4.12.14 → 4.12.15

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.
@@ -184,6 +184,7 @@ function test(args) {
184
184
  failed: failed,
185
185
  countReport: countReport
186
186
  });
187
+ return;
187
188
  }
188
189
  var cStatus = df.columns.byName('success');
189
190
  var cSkipped = df.columns.byName('skipped');
@@ -217,7 +218,18 @@ function test(args) {
217
218
  countReport: countReport
218
219
  });
219
220
  })["catch"](function (e) {
220
- return reject(e);
221
+ var stack = window.DG.Logger.translateStackTrace(e.stack);
222
+ resolve({
223
+ failReport: "".concat(e.message, "\n").concat(stack),
224
+ skipReport: '',
225
+ passReport: '',
226
+ failed: true,
227
+ csv: '',
228
+ countReport: {
229
+ skip: 0,
230
+ pass: 0
231
+ }
232
+ });
221
233
  });
222
234
  });
223
235
  }, targetPackage, options, new testUtils.TestContext(options.catchUnhandled, options.report));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.12.14",
3
+ "version": "4.12.15",
4
4
  "description": "Utility to upload and publish packages to Datagrok",
5
5
  "homepage": "https://github.com/datagrok-ai/public/tree/master/tools#readme",
6
6
  "dependencies": {
package/tsconfig.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "noEmitOnError": true,
6
6
  /* Basic Options */
7
7
  // "incremental": true, /* Enable incremental compilation */
8
- "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
8
+ "target": "ES2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
9
9
  "module": "ES2022", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
10
10
  "lib": ["ES2022", "DOM"], /* Specify library files to be included in the compilation. */
11
11
  // "allowJs": true, /* Allow javascript files to be compiled. */