Node TAP
    Preparing search index...

    Variable timeout

    timeout: (options?: { expired?: string; signal?: null | Signals }) => void

    Type Declaration

      • (options?: { expired?: string; signal?: null | Signals }): void
      • Similar to the normal @tapjs/core!test-base.TestBase#timeout, but with the added feature that it will kill the process with SIGALRM if it has been registered, and will decorate the diagnostics with some information about currently running handles and requests, as these may be the reason the process is not gracefully closing in time.

        The root test runner will time out if the process receives a SIGALRM signal, or if it receives a timeout message via IPC or worker thread channel.

        Parameters

        • Optionaloptions: { expired?: string; signal?: null | Signals }

        Returns void