Options
All
  • Public
  • Public/Protected
  • All
Menu

Module services/test-util

Utility functions for service tests.

Index

Functions

afterTestsWait

  • afterTestsWait(): Promise<void>

getService

  • getService<TInput, TResult>(serviceType: Type<TInput> | Abstract<TInput> | string | symbol): Promise<TResult>
  • Get an instance of a service.

    Type parameters

    • TInput = any

    • TResult = TInput

    Parameters

    • serviceType: Type<TInput> | Abstract<TInput> | string | symbol

      The service class.

    Returns Promise<TResult>

    The instance of the service.

Generated using TypeDoc