@mojaloop/ml-testing-toolkit-client-lib 1.2.3-snapshot.0 → 1.3.0
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 +7 -0
- package/package.json +2 -2
- package/src/modes/outbound.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.3.0](https://github.com/mojaloop/ml-testing-toolkit-client-lib/compare/v1.2.2...v1.3.0) (2024-10-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* transformer implementation ([#11](https://github.com/mojaloop/ml-testing-toolkit-client-lib/issues/11)) ([a61e4d5](https://github.com/mojaloop/ml-testing-toolkit-client-lib/commit/a61e4d56ebf1148eace1c3f938cee50b2fbf8eb4))
|
|
11
|
+
|
|
5
12
|
### [1.2.2](https://github.com/mojaloop/ml-testing-toolkit-client-lib/compare/v1.2.1...v1.2.2) (2024-02-07)
|
|
6
13
|
|
|
7
14
|
|
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.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Vijaya Kumar Guthi, ModusBox Inc. ",
|
|
7
7
|
"contributors": [
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"path": "0.12.7",
|
|
83
83
|
"rc": "1.2.8",
|
|
84
84
|
"request": "2.88.2",
|
|
85
|
-
"request-promise-native": "1.0.
|
|
85
|
+
"request-promise-native": "1.0.9",
|
|
86
86
|
"socket.io-client": "4.8.1"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
package/src/modes/outbound.js
CHANGED
|
@@ -154,6 +154,7 @@ const sendTemplate = async (sessionId) => {
|
|
|
154
154
|
template.options = environmentFileObj.options || {}
|
|
155
155
|
template.saveReport = config.saveReport
|
|
156
156
|
template.name = determineTemplateName(inputFiles)
|
|
157
|
+
template.options.breakOnError = (config.breakRunOnError === 'true')
|
|
157
158
|
|
|
158
159
|
template.test_cases.forEach(testCase => {
|
|
159
160
|
totalProgress.totalTestCases++
|
|
@@ -165,7 +166,6 @@ const sendTemplate = async (sessionId) => {
|
|
|
165
166
|
totalProgress.totalAssertions += request.tests.assertions.length
|
|
166
167
|
}
|
|
167
168
|
})
|
|
168
|
-
testCase.options.breakOnError = (config.breakRunOnError === 'true')
|
|
169
169
|
})
|
|
170
170
|
await axios.post(`${config.baseURL}/api/outbound/template/` + outboundRequestID, template, { headers: { 'Content-Type': 'application/json' } })
|
|
171
171
|
} catch (err) {
|