type
test.FixtureFunction
type FixtureFunction<Value, Context> = (context: Context, use: (value: Value) => Promise<void>) => void | Promise<void>
Sets up a fixture, passes it to use(), and tears it down after the promise returned by use() resolves. The first parameter must be an object destructuring pattern. It names the fixtures this one depends on.