Page Contents

Home > @loopback/testlab > TestDefinition

TestDefinition type

A function defining a new test case or a test suite, e.g. it or describe.

Signature:

export type TestDefinition<ARGS extends unknown[], RETVAL> = (name: string, ...args: ARGS) => RETVAL;