变量 StartRunRequestSchema常量
StartRunRequestSchema: z.ZodObject<
{
version: z.ZodOptional<z.ZodString>;
testDir: z.ZodOptional<z.ZodString>;
testFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
testLocations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
testIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
describePattern: z.ZodOptional<z.ZodString>;
grepPattern: z.ZodOptional<z.ZodString>;
tagFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
projectFilter: z.ZodOptional<z.ZodString>;
updateSnapshots: z.ZodOptional<z.ZodBoolean>;
browsers: z.ZodOptional<
z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">,
>;
retries: z.ZodOptional<z.ZodNumber>;
timeout: z.ZodOptional<z.ZodNumber>;
workers: z.ZodOptional<z.ZodNumber>;
shards: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
updateSnapshots?: boolean;
version?: string;
testDir?: string;
retries?: number;
timeout?: number;
workers?: number;
shards?: number;
browsers?: ("chromium" | "firefox" | "webkit")[];
testFiles?: string[];
testLocations?: string[];
testIds?: string[];
describePattern?: string;
grepPattern?: string;
tagFilter?: string[];
projectFilter?: string;
},
{
updateSnapshots?: boolean;
version?: string;
testDir?: string;
retries?: number;
timeout?: number;
workers?: number;
shards?: number;
browsers?: ("chromium" | "firefox" | "webkit")[];
testFiles?: string[];
testLocations?: string[];
testIds?: string[];
describePattern?: string;
grepPattern?: string;
tagFilter?: string[];
projectFilter?: string;
},
>