The hook function. The first argument is a TestContext
object. If the hook uses callbacks, the callback function is passed as the second argument.
type
test.default.TestContextHookFn
type TestContextHookFn = (t: TestContext, done: (result?: any) => void) => any