newman-reporter-qase 2.1.4 → 2.1.5
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/dist/reporter.js +2 -1
- package/package.json +2 -2
package/changelog.md
CHANGED
package/dist/reporter.js
CHANGED
|
@@ -175,7 +175,8 @@ class NewmanQaseReporter {
|
|
|
175
175
|
const { item } = exec;
|
|
176
176
|
const pendingResult = this.pendingResultMap.get(item.id);
|
|
177
177
|
if (pendingResult && err) {
|
|
178
|
-
|
|
178
|
+
// Determine status based on error type
|
|
179
|
+
pendingResult.execution.status = (0, qase_javascript_commons_1.determineTestStatus)(err, 'failed');
|
|
179
180
|
pendingResult.execution.stacktrace = err.stack ?? null;
|
|
180
181
|
pendingResult.message = err.message;
|
|
181
182
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newman-reporter-qase",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "Qase TMS Newman Reporter",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"author": "Qase Team <support@qase.io>",
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"qase-javascript-commons": "~2.4.
|
|
42
|
+
"qase-javascript-commons": "~2.4.2",
|
|
43
43
|
"semver": "^7.5.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|