UNPKG

@serenity-js/cucumber

Version:

Serenity/JS test runner adapter for seamless integration with any version of Cucumber.js, facilitating BDD-style test automation and leveraging Serenity/JS reporting capabilities

19 lines (14 loc) 519 B
import type { FileSystem } from '@serenity-js/core/io'; import type { OutputDescriptor } from './OutputDescriptor.js'; import type { SerenityFormatterOutput } from './SerenityFormatterOutput.js'; import { TempFileOutputDescriptor } from './TempFileOutputDescriptor.js'; /** * @group Integration */ export class TempFileOutput implements SerenityFormatterOutput { constructor(private readonly fs: FileSystem) { } get(): OutputDescriptor { return new TempFileOutputDescriptor(this.fs); } }