Documentation
    Preparing search index...

    Interface MockNapServices

    Result of createMockNapServices.

    const mocks = createMockNapServices(MOCK_NAP_REGISTRY);
    createShellBridge({ ...hooks, services: mocks.services });
    mocks.get('relay').mock.reset();
    interface MockNapServices {
        domains: readonly string[];
        services: Readonly<Record<string, MockService>>;
        get<TState = unknown>(domain: string): MockService<TState>;
        resetAll(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    domains: readonly string[]

    Domains present in services, in registry order.

    services: Readonly<Record<string, MockService>>

    Domain → handler, ready for ShellAdapter.services or registerService.

    Methods