mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-24 00:05:46 +01:00
#138972 reload local user configuration explicitly
This commit is contained in:
@@ -1133,7 +1133,9 @@ suite('WorkspaceConfigurationService - Folder', () => {
|
||||
|
||||
test('change event when there are global tasks', async () => {
|
||||
await fileService.writeFile(joinPath(environmentService.userRoamingDataHome, 'tasks.json'), VSBuffer.fromString('{ "version": "1.0.0", "tasks": [{ "taskName": "myTask" }'));
|
||||
return new Promise<void>((c) => testObject.onDidChangeConfiguration(() => c()));
|
||||
const promise = Event.toPromise(testObject.onDidChangeConfiguration);
|
||||
await testObject.reloadLocalUserConfiguration();
|
||||
await promise;
|
||||
});
|
||||
|
||||
test('creating workspace settings', async () => {
|
||||
|
||||
Reference in New Issue
Block a user