cucumber-generator
Version:
Generate step definitions for cucumber scenarios
14 lines (13 loc) • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Generator = void 0;
const Parser_1 = require("../files/Parser");
const Scanner_1 = require("../files/Scanner");
class Generator {
constructor(options) {
this.parser = options.parser || new Parser_1.Parser(options.featuresDirectory);
this.scanner = options.scanner || new Scanner_1.Scanner(options.featuresDirectory);
this.featuresDirectory = options.featuresDirectory;
}
}
exports.Generator = Generator;