Beignet API reference
    Preparing search index...

    Interface InstalledProviderFixture

    Installed provider fixture returned by installProviderForTest(...).

    interface InstalledProviderFixture {
        ports: Record<string, unknown>;
        result: ProviderSetupResult<
            Record<string, unknown>,
            Record<string, unknown>,
        >;
        start(): Promise<void>;
        stop(): Promise<void>;
    }
    Index
    ports: Record<string, unknown>

    Base ports merged with the ports contributed by provider setup.

    result: ProviderSetupResult<Record<string, unknown>, Record<string, unknown>>

    Raw provider setup result, exposed for assertions on contributed ports and optional lifecycle hooks.

    • Run the provider start hook when the provider declares one.

      Returns Promise<void>

    • Run the provider stop hook when the provider declares one.

      Returns Promise<void>