Class SidetrackTest<Queues>

Test utility class that extends Sidetrack to also include some utilities you would only use in tests For example, see the list and run methods

Type Parameters

Hierarchy (view full)

Constructors

Methods

  • Test utility to get a list of jobs

    Type Parameters

    • K extends string | number | symbol

    Parameters

    Returns Promise<default[]>

  • Test utility to run a job manually without polling

    Parameters

    Returns Promise<void>

  • Test utility to run all jobs in a queue manually without polling

    Type Parameters

    • K extends string | number | symbol

    Parameters

    Returns Promise<void>

  • Automatically run migrations and start polling the DB for jobs

    Returns Promise<void>