Type alias Fixtures<T, W, PT, PW>
Fixtures<T, W, PT, PW>: {
[K in keyof PW]?: WorkerFixtureValue<PW[K], W & PW> | [WorkerFixtureValue<PW[K], W & PW>, {
box?: boolean;
scope: "worker";
timeout?: number;
title?: string;
}]
} & {
[K in keyof PT]?: TestFixtureValue<PT[K], T & W & PT & PW> | [TestFixtureValue<PT[K], T & W & PT & PW>, {
box?: boolean;
scope: "test";
timeout?: number;
title?: string;
}]
} & {
[K in Exclude<keyof W, keyof PW | keyof PT>]?: [WorkerFixtureValue<W[K], W & PW>, {
auto?: boolean;
box?: boolean;
option?: boolean;
scope: "worker";
timeout?: number;
title?: string;
}]
} & {
[K in Exclude<keyof T, keyof PW | keyof PT>]?: TestFixtureValue<T[K], T & W & PT & PW> | [TestFixtureValue<T[K], T & W & PT & PW>, {
auto?: boolean;
box?: boolean;
option?: boolean;
scope?: "test";
timeout?: number;
title?: string;
}]
}
Type Parameters
-
T extends {} = {}
-
W extends {} = {}
-
PT extends {} = {}
-
PW extends {} = {}