testrail-jest-reporter
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,6 @@ | ||
v1.1.2 / 2021-07-01 | ||
================== | ||
* Fixed custom pending status | ||
v1.1.1 / 2021-05-05 | ||
@@ -2,0 +7,0 @@ ================== |
{ | ||
"name": "testrail-jest-reporter", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Custom Jest reporter for Testrail synchronization", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -208,3 +208,4 @@ 'use strict'; | ||
if (!valid) { | ||
console.log(error(`\nCan not update cases of test JSON schema error | ||
console.log(error(`\nCan not update list of cases of test Run: JSON schema error | ||
\nNew test cases was not added to test Run | ||
\nContext: ${JSON.stringify(cases)}\n${JSON.stringify(ajv.errors, null, 2)}`)); | ||
@@ -211,0 +212,0 @@ return []; |
@@ -14,2 +14,6 @@ 'use strict'; | ||
this._statuses = _options && _options.statuses || {}; | ||
for (let key in this._statuses) { | ||
if (isNaN(this._statuses[key])) this._statuses[key] = 4 | ||
else this._statuses[key] = Number(this._statuses[key]); | ||
} | ||
this._status = { | ||
@@ -140,3 +144,4 @@ "failed": 5, | ||
if (!valid_results ) { | ||
console.log(error(`\nCan not update cases of test JSON schema error | ||
console.log(error(`\nCan not update cases of test: JSON schema error | ||
\nTest case results not validated | ||
\nContext: ${JSON.stringify(ajv.errors, null, 2)}`)); | ||
@@ -143,0 +148,0 @@ return []; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142737
3192