Documentation
    Preparing search index...

    Interface MockKeysState

    In-memory state of the keys mock.

    service.mock.state().actions.get('w1')?.get('editor.save')?.binding; // 'Ctrl+S'
    
    interface MockKeysState {
        actions: Map<string, Map<string, MockKeysAction>>;
        forwarded: MockForwardedKey[];
    }
    Index

    Properties

    Properties

    actions: Map<string, Map<string, MockKeysAction>>

    Window → action id → registration.

    forwarded: MockForwardedKey[]

    Forwarded keystrokes, oldest first (bounded).