Skip to content

Commit 0e38fde

Browse files
authored
1 parent cc098fa commit 0e38fde

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/vs/workbench/contrib/extensions/test/electron-browser/extensionRecommendationsService.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ suite('ExtensionRecommendationsService Test', () => {
447447
});
448448
});
449449

450-
test.skip('ExtensionRecommendationsService: Able to retrieve collection of all ignored recommendations', async () => {
450+
test('ExtensionRecommendationsService: Able to retrieve collection of all ignored recommendations', async () => {
451451

452452
const storageService = instantiationService.get(IStorageService);
453453
const workspaceIgnoredRecommendations = ['ms-dotnettools.csharp']; // ignore a stored recommendation and a workspace recommendation.
@@ -462,9 +462,7 @@ suite('ExtensionRecommendationsService Test', () => {
462462
await testObject.activationPromise;
463463

464464
const recommendations = testObject.getAllRecommendationsWithReason();
465-
assert.ok(recommendations['ms-python.python'], 'ms-python.python extension shall exist');
466-
assert.ok(!recommendations['mockpublisher2.mockextension2'], 'mockpublisher2.mockextension2 extension shall not exist');
467-
assert.ok(!recommendations['ms-dotnettools.csharp'], 'ms-dotnettools.csharp extension shall not exist');
465+
assert.deepStrictEqual(Object.keys(recommendations), ['ms-python.python', 'mockpublisher1.mockextension1']);
468466
});
469467

470468
test('ExtensionRecommendationsService: Able to dynamically ignore/unignore global recommendations', async () => {

0 commit comments

Comments
 (0)