---
lang: en
title: 'API docs: testlab.inject'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.testlab.inject.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/testlab](./testlab.md) &gt; [inject](./testlab.inject.md)

## inject variable

<b>Signature:</b>

```typescript
inject: (dispatchFunc: ShotListener, options: ShotRequestOptions) => Promise<ResponseObject>
```

