Page Contents

Home > @loopback/testlab > inject

inject() function

Signature:

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

Parameters

Parameter Type Description
dispatchFunc ShotListener  
options ShotRequestOptions  

Returns:

Promise<ResponseObject>