cucumber
Version:
The official JavaScript implementation of Cucumber.
16 lines (14 loc) • 493 B
JavaScript
var SkippedStepResult = function(payload) {
var self = {
isFailed: function isFailed() { return false; },
isPending: function isPending() { return false; },
isSkipped: function isSkipped() { return true; },
isSuccessful: function isSuccessful() { return false; },
isUndefined: function isUndefined() { return false; },
getStep: function getStep() {
return payload['step'];
}
};
return self;
};
module.exports = SkippedStepResult;