mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 01:25:37 -05:00
Connection Store Refactor (#4632)
* various clean ups * formatting * remove linting * formatting * IConfigurationService is even better * messing with connection config tests * update tests * formatting * foramtting * remove unused code * add more tests * working through tests * formatting * more factoring of connection store and increase code coverage * formatting * fix tests
This commit is contained in:
@@ -17,13 +17,8 @@ export class TestConfigurationService implements IConfigurationService {
|
||||
return Promise.resolve(this.getValue());
|
||||
}
|
||||
|
||||
public getValue(arg1?: any, arg2?: any): any {
|
||||
let configuration;
|
||||
configuration = configuration ? configuration : this.configuration;
|
||||
if (arg1 && typeof arg1 === 'string') {
|
||||
return getConfigurationValue(configuration, arg1);
|
||||
}
|
||||
return configuration;
|
||||
public getValue(arg1?: any): any {
|
||||
return getConfigurationValue(this.configuration.user, arg1);
|
||||
}
|
||||
|
||||
public updateValue(key: string, value: any, target?: any): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user