@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface FakeSecrets

    In-memory secrets capability for tests.

    interface FakeSecrets {
        _entries(): ReadonlyMap<string, string>;
        delete(key: string): Promise<void>;
        get(key: string): Promise<string | undefined>;
        keys(): Promise<readonly string[]>;
        onDidChange(listener: (key: string) => void): PlatformRegistration;
        store(key: string, value: string): Promise<void>;
    }

    Hierarchy

    • SecretsCapability
      • FakeSecrets
    Index
    • Everything currently stored, for assertions. Values are visible because this is an in-memory test double, not a security boundary.

      Returns ReadonlyMap<string, string>

    • Parameters

      • key: string

      Returns Promise<string | undefined>

    • Parameters

      • key: string
      • value: string

      Returns Promise<void>