#138972 reload local user configuration explicitly

This commit is contained in:
Sandeep Somavarapu 2021-12-13 13:53:13 +01:00
parent fd364a20fc
commit 01ea5cceaa
No known key found for this signature in database
GPG key ID: 1FED25EC4646638B

View file

@ -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 () => {