allure-vitest
Version:
Allure Vitest integration
10 lines (9 loc) • 793 B
TypeScript
import type { AttachmentOptions } from "allure-js-commons";
import { type RuntimeMessage } from "allure-js-commons/sdk";
import { BaseVitestTestRuntime } from "./runtime.js";
export declare class VitestBrowserTestRuntime extends BaseVitestTestRuntime {
attachment(name: string, content: Uint8Array | string, options: AttachmentOptions): Promise<void>;
globalAttachment(name: string, content: Uint8Array | string, options: AttachmentOptions): Promise<void>;
protected syncAttachment(sendMessageSync: (message: RuntimeMessage) => void, name: string, content: Uint8Array | string, options: AttachmentOptions): void;
protected syncGlobalAttachment(sendMessageSync: (message: RuntimeMessage) => void, name: string, content: Uint8Array | string, options: AttachmentOptions): void;
}