fix registry config setter

* default registry provider is noop
* when testing config, skip noop provider
This commit is contained in:
Girish Ramakrishnan
2021-03-02 18:21:35 -08:00
parent cccdf68cec
commit 53cb9b1f7a
3 changed files with 22 additions and 16 deletions

View File

@@ -159,7 +159,9 @@ let gDefaults = (function () {
provider: 'noop',
autoCreate: false
};
result[exports.REGISTRY_CONFIG_KEY] = {};
result[exports.REGISTRY_CONFIG_KEY] = {
provider: 'noop'
};
result[exports.SYSINFO_CONFIG_KEY] = {
provider: 'generic'
};