Sha256: 9ef3a7ae17771539902eb98688157f1f31c54397281d3450e813ab6113c24069
Contents?: true
Size: 1.79 KB
Versions: 26
Compression:
Stored size: 1.79 KB
Contents
import { VitestRunner, VitestRunnerImportSource, File, Suite, Task, CancelReason, Test, Custom, TaskContext, ExtendedContext } from '@vitest/runner'; import { S as SerializedConfig } from './chunks/config.Crbj2GAb.js'; import * as tinybench from 'tinybench'; import { Task as Task$1 } from 'tinybench'; import '@vitest/pretty-format'; import '@vitest/snapshot'; import '@vitest/snapshot/environment'; declare class VitestTestRunner implements VitestRunner { config: SerializedConfig; private snapshotClient; private workerState; private __vitest_executor; private cancelRun; private assertionsErrors; pool: string; constructor(config: SerializedConfig); importFile(filepath: string, source: VitestRunnerImportSource): unknown; onCollectStart(file: File): void; onBeforeRunFiles(): void; onAfterRunFiles(): void; onAfterRunSuite(suite: Suite): Promise<void>; onAfterRunTask(test: Task): void; onCancel(_reason: CancelReason): void; onBeforeRunTask(test: Task): Promise<void>; onBeforeRunSuite(suite: Suite): Promise<void>; onBeforeTryTask(test: Task): void; onAfterTryTask(test: Task): void; extendTaskContext<T extends Test | Custom>(context: TaskContext<T>): ExtendedContext<T>; } declare class NodeBenchmarkRunner implements VitestRunner { config: SerializedConfig; private __vitest_executor; constructor(config: SerializedConfig); importTinybench(): Promise<{ default: typeof tinybench; Bench: typeof tinybench.Bench; Task: typeof Task$1; hrtimeNow: () => number; now: () => number; }>; importFile(filepath: string, source: VitestRunnerImportSource): unknown; runSuite(suite: Suite): Promise<void>; runTask(): Promise<void>; } export { NodeBenchmarkRunner, VitestTestRunner };
Version data entries
26 entries across 26 versions & 1 rubygems