UNPKG

@nx/vite

Version:

The Nx Plugin for building and testing applications using Vite

19 lines 611 B
import type { File, Reporter } from 'vitest'; export declare class NxReporter implements Reporter { private watch; deferred: { promise: Promise<boolean>; resolve: (val: boolean) => void; }; constructor(watch: boolean); [Symbol.asyncIterator](): AsyncGenerator<{ hasErrors: boolean; }, void, unknown>; private setupDeferred; /** Vitest ≥ 0.29 */ onTestRunEnd(files: any[], errors?: any): void; /** Vitest ≤ 0.28 */ onFinished(files: File[], errors?: unknown[]): void; private _handleFinished; } //# sourceMappingURL=nx-reporter.d.ts.map