datagrok-tools 4.13.59 → 4.13.60

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Datagrok-tools changelog
2
2
 
3
+ ## 4.13.60 (2025-01-09)
4
+
5
+ ### Features
6
+
7
+ * Updated console output for cases "Tests not found"
8
+
3
9
  ## 4.13.59 (2025-01-09)
4
10
 
5
11
  ### Features
@@ -68,7 +68,10 @@ function _test() {
68
68
  res = _context.sent;
69
69
  if (args.csv) (0, _testUtils.saveCsvResults)([res.csv], csvReportDir);
70
70
  (0, _testUtils.printBrowsersResult)(res, args.verbose);
71
- if (res.failed) testUtils.exitWithCode(1);else testUtils.exitWithCode(0);
71
+ if (res.failed) {
72
+ if (res.verboseFailed === 'Package not found') testUtils.exitWithCode(0);
73
+ testUtils.exitWithCode(1);
74
+ } else testUtils.exitWithCode(0);
72
75
  return _context.abrupt("return", true);
73
76
  case 20:
74
77
  case "end":
@@ -599,7 +599,7 @@ function printBrowsersResult(browserResult) {
599
599
  console.log("Skipped amount: " + (browserResult === null || browserResult === void 0 ? void 0 : browserResult.skippedAmount));
600
600
  console.log("Failed amount: " + (browserResult === null || browserResult === void 0 ? void 0 : browserResult.failedAmount));
601
601
  if (browserResult.failed) {
602
- color.fail('Tests failed.');
602
+ if (browserResult.verboseFailed === 'Package not found') color.fail('Tests not found');else color.fail('Tests failed.');
603
603
  } else {
604
604
  color.success('Tests passed.');
605
605
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datagrok-tools",
3
- "version": "4.13.59",
3
+ "version": "4.13.60",
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": {