@mojaloop/ml-testing-toolkit-client-lib 1.12.2-snapshot.2 → 1.12.2

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
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.12.2](https://github.com/mojaloop/ml-testing-toolkit-client-lib/compare/v1.12.1...v1.12.2) (2025-11-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **csi-1929:** improved timeout Slack report ([#44](https://github.com/mojaloop/ml-testing-toolkit-client-lib/issues/44)) ([921a9e9](https://github.com/mojaloop/ml-testing-toolkit-client-lib/commit/921a9e9d692fd134f9f85d752be80ce925a7735a))
11
+
12
+
13
+ ### Chore
14
+
15
+ * **sbom:** update sbom [skip ci] ([e80805c](https://github.com/mojaloop/ml-testing-toolkit-client-lib/commit/e80805c5f5ac47e60d7189074b47b622d07a06fe))
16
+
5
17
  ### [1.12.1](https://github.com/mojaloop/ml-testing-toolkit-client-lib/compare/v1.12.0...v1.12.1) (2025-11-06)
6
18
 
7
19
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mojaloop/ml-testing-toolkit-client-lib",
3
3
  "description": "Testing Toolkit Client Library",
4
- "version": "1.12.2-snapshot.2",
4
+ "version": "1.12.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Vijaya Kumar Guthi, ModusBox Inc. ",
7
7
  "contributors": [
package/src/constants.js CHANGED
@@ -1,7 +1,6 @@
1
1
  const { env } = require('node:process')
2
2
 
3
- const TESTS_EXECUTION_TIMEOUT = parseInt(env.TESTS_EXECUTION_TIMEOUT, 10) || 1000 * 60 * 1
4
- // todo: ^^ revert before merging!!
3
+ const TESTS_EXECUTION_TIMEOUT = parseInt(env.TESTS_EXECUTION_TIMEOUT, 10) || 1000 * 60 * 15
5
4
 
6
5
  const EXIT_CODES = Object.freeze({
7
6
  success: 0,
@@ -31,7 +31,7 @@ const objectStore = require('../objectStore')
31
31
 
32
32
  const config = objectStore.get('config')
33
33
 
34
- const GP_WH_URLS = [
34
+ const FAILED_GP_WH_URLS = [
35
35
  config.slackWebhookUrl,
36
36
  config.slackWebhookUrlForFailed
37
37
  ]
@@ -238,7 +238,7 @@ const sendTimeoutSlackNotification = async (progress, reportURL = 'http://localh
238
238
  const blocks = generateSlackBlocks(progress, reportURL)
239
239
 
240
240
  await Promise.all(
241
- GP_WH_URLS
241
+ FAILED_GP_WH_URLS
242
242
  .filter(Boolean)
243
243
  .map(whUrl => sendWebhook(whUrl, text, blocks))
244
244
  )
@@ -279,7 +279,7 @@ const handleTimeout = async () => {
279
279
  status: 'TERMINATED',
280
280
  isTimeout: true
281
281
  }
282
- console.log(fStr.yellow(`⚠️ Summary (timeout): ${totalProgress.passedAssertions}/${totalProgress.totalAssertions} assertions passed`))
282
+ console.log(fStr.yellow(`⚠️ Summary (timeout): ${totalProgress.failedAssertions}/${totalProgress.totalAssertions} assertions failed`))
283
283
 
284
284
  await slackBroadcast.sendTimeoutSlackNotification(timeoutReport)
285
285
  } catch (err) {