Skip to content

Commit

Permalink
fix extension tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jan 24, 2018
1 parent f2722cf commit 554a9c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ suite('ExtensionsActions Test', () => {

setup(() => {
instantiationService.stubPromise(IExtensionManagementService, 'getInstalled', []);
instantiationService.stubPromise(IExtensionManagementService, 'getExtensionsReport', []);
instantiationService.stubPromise(IExtensionGalleryService, 'query', aPage());
instantiationService.stub(IExtensionService, { getExtensions: () => TPromise.wrap([]) });
(<TestExtensionEnablementService>instantiationService.get(IExtensionEnablementService)).reset();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ suite('ExtensionsWorkbenchService Test', () => {

setup(() => {
instantiationService.stubPromise(IExtensionManagementService, 'getInstalled', []);
instantiationService.stubPromise(IExtensionManagementService, 'getExtensionsReport', []);
instantiationService.stubPromise(IExtensionGalleryService, 'query', aPage());
instantiationService.stubPromise(IChoiceService, 'choose', 0);
(<TestExtensionEnablementService>instantiationService.get(IExtensionEnablementService)).reset();
Expand Down

0 comments on commit 554a9c6

Please sign in to comment.