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>, {
scope: "worker";
timeout?: number;
}]
} & {
[K in keyof PT]?: TestFixtureValue<PT[K], T & W & PT & PW> | [TestFixtureValue<PT[K], T & W & PT & PW>, {
scope: "test";
timeout?: number;
}]
} & {
[K in keyof W]?: [WorkerFixtureValue<W[K], W & PW>, {
auto?: boolean;
option?: boolean;
scope: "worker";
timeout?: number;
}]
} & {
[K in keyof T]?: TestFixtureValue<T[K], T & W & PT & PW> | [TestFixtureValue<T[K], T & W & PT & PW>, {
auto?: boolean;
option?: boolean;
scope?: "test";
timeout?: number;
}]
}
Type Parameters
-
T extends KeyValue = {}
-
W extends KeyValue = {}
-
PT extends KeyValue = {}
-
PW extends KeyValue = {}