Creates a fake secrets capability.
Mirrors the real contract: onDidChange fires with the key on both store and delete.
onDidChange
const secrets = createFakeSecrets();await secrets.store('apiKey', 'sk-test'); Copy
const secrets = createFakeSecrets();await secrets.store('apiKey', 'sk-test');
Creates a fake secrets capability.
Mirrors the real contract:
onDidChangefires with the key on both store and delete.