allure-vitest
Version:
Allure Vitest integration
10 lines (9 loc) • 822 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 VitestTestRuntime extends BaseVitestTestRuntime {
attachment(name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions): Promise<void>;
globalAttachment(name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions): Promise<void>;
protected syncAttachment(sendMessageSync: (message: RuntimeMessage) => void, name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions): void;
protected syncGlobalAttachment(sendMessageSync: (message: RuntimeMessage) => void, name: string, content: Buffer | Uint8Array | string, options: AttachmentOptions): void;
}