mocha-qase-reporter 1.1.2 → 1.1.3
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 +1 -3
- package/package.json +2 -2
package/changelog.md
CHANGED
package/dist/reporter.js
CHANGED
|
@@ -174,9 +174,7 @@ class MochaQaseReporter extends mocha_1.reporters.Base {
|
|
|
174
174
|
steps: this.currentTest.steps,
|
|
175
175
|
id: (0, uuid_1.v4)(),
|
|
176
176
|
execution: {
|
|
177
|
-
status: test.state
|
|
178
|
-
? MochaQaseReporter.statusMap[test.state]
|
|
179
|
-
: qase_javascript_commons_1.TestStatusEnum.invalid,
|
|
177
|
+
status: (0, qase_javascript_commons_1.determineTestStatus)(test.err || null, test.state || 'failed'),
|
|
180
178
|
start_time: this.testBeginTime / 1000,
|
|
181
179
|
end_time: end_time / 1000,
|
|
182
180
|
duration: duration,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mocha-qase-reporter",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Mocha Cypress Reporter",
|
|
5
5
|
"homepage": "https://github.com/qase-tms/qase-javascript",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"mocha": "^10.2.0",
|
|
45
45
|
"deasync-promise": "^1.0.1",
|
|
46
|
-
"qase-javascript-commons": "~2.4.
|
|
46
|
+
"qase-javascript-commons": "~2.4.2",
|
|
47
47
|
"uuid": "^9.0.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|