API Core - v1.5.0
    Preparing search index...

    Function createSettingStore

    • An in-memory SettingManager over a seeded map, with spies on its writes. unset is delegated only on request, so a suite can model both host shapes the setting decorator distinguishes.

      Parameters

      • initial: Record<string, string> = {}

        The seeded entries.

      • root1: { hasUnset?: boolean } = {}

        Options.

        • OptionalhasUnset?: boolean

          Whether the manager delegates unset (defaults to false).

      Returns SettingStore

      The manager and its two write spies.