mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
24 lines
378 B
TypeScript
24 lines
378 B
TypeScript
import type { SerializedConfig } from 'vitest'
|
|
|
|
export interface WSMessage {
|
|
/**
|
|
* Message type
|
|
*/
|
|
type: string
|
|
|
|
/**
|
|
* Message Data
|
|
*/
|
|
data: any
|
|
}
|
|
|
|
export type RunState = 'idle' | 'running'
|
|
|
|
export interface BrowserRunnerState {
|
|
files: string[]
|
|
config: SerializedConfig
|
|
type: 'orchestrator'
|
|
provider: string
|
|
wrapModule: <T>(module: () => T) => T
|
|
}
|