UNPKG

@amiceli/vitest-cucumber

Version:

vitest tools to use Gherkin feature in unit tests

15 lines (14 loc) 474 B
import type { Feature } from '../parser/models'; import { type RequiredParserOptions } from '../parser/parser'; type FeatureFileReaderParams = { featureFilePath: string; options: RequiredParserOptions; }; export declare class BrowserFeatureFileReader { private readonly path; private readonly parser; static fromPath(params: FeatureFileReaderParams): BrowserFeatureFileReader; private constructor(); parseFile(): Promise<Feature[]>; } export {};