UNPKG

gpc-replacer

Version:

This GherKing Precompiler is responsible to replace keys in feature files with given values.

11 lines (10 loc) 310 B
import { PreCompiler } from "gherking"; import { Document } from "gherkin-ast"; export declare type ReplacerConfig = { [key: string]: string; }; export default class Replacer implements PreCompiler { config: ReplacerConfig; constructor(config: ReplacerConfig); onDocument(d: Document): void; }