rest-vir - v2.2.0
Preparing search index...
ApiTestSuite
Type Alias ApiTestSuite<Api>
Suite for testing an api as a live, running server.
Package
@rest-vir/host
type
ApiTestSuite
<
Api
extends
Readonly
<
ApiImplementation
>
>
=
{
connectWebSocket
:
ConnectTestWebSocket
<
Api
>
;
fetchEndpoint
:
FetchTestEndpoint
<
Api
>
;
server
:
Readonly
<
FastifyInstance
>
;
}
Type Parameters
Api
extends
Readonly
<
ApiImplementation
>
Index
Properties
connect
Web
Socket
fetch
Endpoint
server
Properties
connect
Web
Socket
connectWebSocket
:
ConnectTestWebSocket
<
Api
>
fetch
Endpoint
fetchEndpoint
:
FetchTestEndpoint
<
Api
>
server
server
:
Readonly
<
FastifyInstance
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
connect
Web
Socket
fetch
Endpoint
server
rest-vir - v2.2.0
Loading...
Suite for testing an api as a live, running server.
Package
@rest-vir/host