UNPKG

cypress-xray-plugin

Version:

A Cypress plugin for uploading test results to Xray (test management for Jira)

14 lines (13 loc) 483 B
import type { Logger } from "../../../util/logging"; import type { ComputableState } from "../../command"; import { Command } from "../../command"; interface Parameters<T> { fallbackOn: ComputableState[]; fallbackValue: T; } export declare class FallbackCommand<T, R> extends Command<R | T, Parameters<T>> { private readonly input; constructor(parameters: Parameters<T>, logger: Logger, input: Command<R>); protected computeResult(): Promise<R | T>; } export {};