@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 639 B
Markdown
---
lang: en
title: 'API docs: testlab.testdefinition'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.testlab.testdefinition.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/testlab](./testlab.md) > [TestDefinition](./testlab.testdefinition.md)
## TestDefinition type
A function defining a new test case or a test suite, e.g. `it` or `describe`<!-- -->.
<b>Signature:</b>
```typescript
export declare type TestDefinition<ARGS extends unknown[], RETVAL> = (name: string, ...args: ARGS) => RETVAL;
```