gherkin-ast
Version:
JS model for Gherkin feature files
16 lines • 530 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isGherkinScenario = exports.isGherkinBackground = exports.isGherkinRule = void 0;
function isGherkinRule(obj) {
return !!obj.rule;
}
exports.isGherkinRule = isGherkinRule;
function isGherkinBackground(obj) {
return !!obj.background;
}
exports.isGherkinBackground = isGherkinBackground;
function isGherkinScenario(obj) {
return !!obj.scenario;
}
exports.isGherkinScenario = isGherkinScenario;
//# sourceMappingURL=gherkinObject.js.map