diff --git a/test/helper.ts b/test/helper.ts index f79d9482..ff4f741f 100644 --- a/test/helper.ts +++ b/test/helper.ts @@ -44,12 +44,12 @@ export const getDocUri = (p: string): vscode.Uri => { }; export const updateSettings = (setting: string, value: unknown): Thenable => { - const yamlConfiguration = vscode.workspace.getConfiguration('yaml'); + const yamlConfiguration = vscode.workspace.getConfiguration('yaml', null); return yamlConfiguration.update(setting, value, false); }; export const resetSettings = (setting: string, value: unknown): Thenable => { - const yamlConfiguration = vscode.workspace.getConfiguration('yaml'); + const yamlConfiguration = vscode.workspace.getConfiguration('yaml', null); return yamlConfiguration.update(setting, value, false); };