mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 08:16:37 -05:00
first commit
This commit is contained in:
29
node_modules/vitest/dist/worker.d.ts
generated
vendored
Normal file
29
node_modules/vitest/dist/worker.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { W as WorkerGlobalState, B as BirpcOptions, a as WorkerSetupContext } from './chunks/worker.d.B4A26qg6.js';
|
||||
import { T as Traces } from './chunks/traces.d.402V_yFI.js';
|
||||
import { Awaitable } from '@vitest/utils';
|
||||
import { R as RuntimeRPC } from './chunks/rpc.d.RH3apGEf.js';
|
||||
import '@vitest/runner';
|
||||
import 'vite/module-runner';
|
||||
import './chunks/config.d.CzIjkicf.js';
|
||||
import '@vitest/pretty-format';
|
||||
import '@vitest/snapshot';
|
||||
import '@vitest/utils/diff';
|
||||
import './chunks/environment.d.CrsxCzP1.js';
|
||||
|
||||
/** @experimental */
|
||||
declare function runBaseTests(method: "run" | "collect", state: WorkerGlobalState, traces: Traces): Promise<void>;
|
||||
|
||||
type WorkerRpcOptions = Pick<BirpcOptions<RuntimeRPC>, "on" | "off" | "post" | "serialize" | "deserialize">;
|
||||
interface VitestWorker extends WorkerRpcOptions {
|
||||
runTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
|
||||
collectTests: (state: WorkerGlobalState, traces: Traces) => Awaitable<unknown>;
|
||||
setup?: (context: WorkerSetupContext) => Promise<() => Promise<unknown>>;
|
||||
}
|
||||
|
||||
interface Options extends VitestWorker {
|
||||
teardown?: () => void;
|
||||
}
|
||||
/** @experimental */
|
||||
declare function init(worker: Options): void;
|
||||
|
||||
export { init, runBaseTests };
|
||||
Reference in New Issue
Block a user