Skip to main content

type alias TestFn

The type of a function passed to test. The first argument to this function is a TestContext object. If the test uses callbacks, the callback function is passed as the second argument.

Definition #

(
done: (result?: any) => void,
) => void | Promise<void>

Did you find what you needed?

Privacy policy