Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Feb 7, 2018
1 parent 1529a6b commit d5902ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/platform/commands/test/commandService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ suite('CommandService', function () {

let callCounter = 0;
let resolveFunc: Function;
// let reg = CommandsRegistry.registerCommand('bar', () => callCounter += 1);
const whenInstalledExtensionsRegistered = new TPromise<boolean>(_resolve => { resolveFunc = _resolve; });

let service = new CommandService(new InstantiationService(), new class extends SimpleExtensionService {
whenInstalledExtensionsRegistered() {
return new TPromise<boolean>(_resolve => { resolveFunc = _resolve; });
return whenInstalledExtensionsRegistered;
}
}, new NullLogService());

Expand Down

0 comments on commit d5902ea

Please sign in to comment.