rest-vir - v1.0.0
    Preparing search index...

    Type Alias ServiceTestSuite<Service>

    type ServiceTestSuite<
        Service extends
            Readonly<
                SelectFrom<
                    GenericServiceImplementation,
                    {
                        createContext: true;
                        endpoints: true;
                        logger: true;
                        postHook: true;
                        requiredClientOrigin: true;
                        serviceName: true;
                        serviceOrigin: true;
                        webSockets: true;
                    },
                >,
            >,
    > = {
        connectWebSocket: ConnectTestServiceWebSocket<Service>;
        fetchEndpoint: FetchTestService<Service>;
        server: Readonly<FastifyInstance>;
    }

    Type Parameters

    • Service extends Readonly<
          SelectFrom<
              GenericServiceImplementation,
              {
                  createContext: true;
                  endpoints: true;
                  logger: true;
                  postHook: true;
                  requiredClientOrigin: true;
                  serviceName: true;
                  serviceOrigin: true;
                  webSockets: true;
              },
          >,
      >
    Index

    Properties

    fetchEndpoint: FetchTestService<Service>
    server: Readonly<FastifyInstance>