UNPKG

gpc-step-groups

Version:

The StepGroups precompiler is responsible for correcting the gherkin keywords of steps to make the tests more readable.

19 lines 659 B
"use strict"; // eslint-disable-next-line @typescript-eslint/no-var-requires const debug = require("debug")("gpc:step-groups"); class StepGroups { onScenario(scenario) { debug("Processing Scenario: %s", scenario.name); scenario.useReadableStepKeywords(); } onScenarioOutline(scenarioOutline) { debug("Processing Scenario Outline: %s", scenarioOutline.name); scenarioOutline.useReadableStepKeywords(); } onBackground(background) { debug("Processing Background: %s", background.name); background.useReadableStepKeywords(); } } module.exports = StepGroups; //# sourceMappingURL=index.js.map