Variable scriptTestRunResultSchemaConst
scriptTestRunResultSchema: ZodObject<
{
assertion_count: ZodOptional<ZodNumber>;
error: ZodOptional<ZodString>;
findings: ZodOptional<
ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>,
>;
output: ZodOptional<
ZodArray<
ZodObject<
{
level: ZodOptional<ZodString>;
line: ZodOptional<ZodNumber>;
text: ZodString;
timestamp: ZodOptional<ZodString>;
values: ZodOptional<
ZodArray<ZodType<{} | null, ZodTypeDef, {} | null>, "many">,
>;
},
"strip",
ZodTypeAny,
{
level?: string;
line?: number;
text: string;
timestamp?: string;
values?: ({} | null)[];
},
{
level?: string;
line?: number;
text: string;
timestamp?: string;
values?: ({} | null)[];
},
>,
"many",
>,
>;
passed: ZodBoolean;
suites: ZodOptional<
ZodArray<
ZodObject<
{
describe: ZodArray<ZodString, "many">;
name: ZodString;
tests: ZodOptional<
ZodArray<
ZodObject<
{
assertions: ZodOptional<(...)>;
describe: ZodOptional<(...)>;
error: ZodOptional<(...)>;
name: ZodString;
pass: ZodBoolean;
},
"strip",
ZodTypeAny,
{
assertions?: (...)
| (...);
describe?: (...) | (...);
error?: (...) | (...);
name: string;
pass: boolean;
},
{
assertions?: (...)
| (...);
describe?: (...) | (...);
error?: (...) | (...);
name: string;
pass: boolean;
},
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
describe: string[];
name: string;
tests?: {
assertions?: (...)[];
describe?: (...)[];
error?: string;
name: string;
pass: boolean;
}[];
},
{
describe: string[];
name: string;
tests?: {
assertions?: (...)[];
describe?: (...)[];
error?: string;
name: string;
pass: boolean;
}[];
},
>,
"many",
>,
>;
tests: ZodOptional<
ZodArray<
ZodObject<
{
assertions: ZodOptional<
ZodArray<
ZodObject<
{
actual: ZodOptional<(...)>;
describe: ZodOptional<(...)>;
expected: ZodOptional<(...)>;
it: ZodOptional<(...)>;
kind: ZodOptional<(...)>;
line: ZodOptional<(...)>;
matcher: ZodOptional<(...)>;
pass: ZodBoolean;
},
"strip",
ZodTypeAny,
{
actual?: (...)
| (...)
| (...);
describe?: (...) | (...);
expected?: (...) | (...) | (...);
it?: (...) | (...);
kind?: (...) | (...);
line?: (...) | (...);
matcher?: (...) | (...);
pass: boolean;
},
{
actual?: (...)
| (...)
| (...);
describe?: (...) | (...);
expected?: (...) | (...) | (...);
it?: (...) | (...);
kind?: (...) | (...);
line?: (...) | (...);
matcher?: (...) | (...);
pass: boolean;
},
>,
"many",
>,
>;
describe: ZodOptional<ZodArray<ZodString, "many">>;
error: ZodOptional<ZodString>;
name: ZodString;
pass: ZodBoolean;
},
"strip",
ZodTypeAny,
{
assertions?: {
actual?: {}
| null;
describe?: (...)[];
expected?: {} | null;
it?: string;
kind?: string;
line?: number;
matcher?: string;
pass: boolean;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
},
{
assertions?: {
actual?: {}
| null;
describe?: (...)[];
expected?: {} | null;
it?: string;
kind?: string;
line?: number;
matcher?: string;
pass: boolean;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
},
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
assertion_count?: number;
error?: string;
findings?: Record<string, {} | null>[];
output?: {
level?: string;
line?: number;
text: string;
timestamp?: string;
values?: ({} | null)[];
}[];
passed: boolean;
suites?: {
describe: string[];
name: string;
tests?: {
assertions?: {
actual?: ...;
describe?: ...;
expected?: ...;
it?: ...;
kind?: ...;
line?: ...;
matcher?: ...;
pass: ...;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
}[];
}[];
tests?: {
assertions?: {
actual?: {}
| null;
describe?: string[];
expected?: {} | null;
it?: string;
kind?: string;
line?: number;
matcher?: string;
pass: boolean;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
}[];
},
{
assertion_count?: number;
error?: string;
findings?: Record<string, {} | null>[];
output?: {
level?: string;
line?: number;
text: string;
timestamp?: string;
values?: ({} | null)[];
}[];
passed: boolean;
suites?: {
describe: string[];
name: string;
tests?: {
assertions?: {
actual?: ...;
describe?: ...;
expected?: ...;
it?: ...;
kind?: ...;
line?: ...;
matcher?: ...;
pass: ...;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
}[];
}[];
tests?: {
assertions?: {
actual?: {}
| null;
describe?: string[];
expected?: {} | null;
it?: string;
kind?: string;
line?: number;
matcher?: string;
pass: boolean;
}[];
describe?: string[];
error?: string;
name: string;
pass: boolean;
}[];
},
> = ...
Runtime validator for ScriptTestRunResult.