allure-js-commons
Advanced tools
Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "allure-js-commons", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Common helper for writing plugins to allure-framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,6 +26,7 @@ 'use strict'; | ||
if(that.isPromise(result)) { | ||
result.then( | ||
that._allure.endStep.bind(that._allure, 'passed'), | ||
that._allure.endStep.bind(that._allure, 'broken') | ||
); | ||
result.then(function() { | ||
that._allure.endStep('passed'); | ||
}, function() { | ||
that._allure.endStep('broken'); | ||
}); | ||
} else { | ||
@@ -32,0 +33,0 @@ that._allure.endStep(status); |
@@ -133,7 +133,11 @@ 'use strict'; | ||
name: 'passed', | ||
status: 'passed' | ||
status: 'passed', | ||
start: jasmine.any(Number), | ||
stop: jasmine.any(Number) | ||
}), | ||
joc({ | ||
name: 'broken', | ||
status: 'broken' | ||
status: 'broken', | ||
start: jasmine.any(Number), | ||
stop: jasmine.any(Number) | ||
}) | ||
@@ -140,0 +144,0 @@ ] |
Sorry, the diff of this file is not supported yet
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
18788
523