mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
#138972 reload local user configuration explicitly
This commit is contained in:
parent
fd364a20fc
commit
01ea5cceaa
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in a new issue