UNPKG

@amiceli/vitest-cucumber

Version:

vitest tools to use Gherkin feature in unit tests

18 lines (17 loc) 558 B
import type { Feature } from './models/feature'; import { type RequiredParserOptions } from './parser'; type FeatureFileReaderParams = { featureFilePath: string; callerFileDir?: string | null; options: RequiredParserOptions; }; export declare class FeatureFileReader { private readonly path; private readonly parser; private readonly callerFileDir; static fromPath(params: FeatureFileReaderParams): FeatureFileReader; private constructor(); private handleFeatureFilePath; parseFile(): Promise<Feature[]>; } export {};