Skip to content

Commit 2f7cebe

Browse files
committed
Fix up tests
1 parent 504f412 commit 2f7cebe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/omnisharp/omnisharpUnitTests/installRuntimeDependencies.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ describe(`${installRuntimeDependencies.name}`, () => {
4949
useFramework,
5050
['Debugger', 'Omnisharp', 'Razor']
5151
);
52-
expect(installed).toBe(true);
52+
expect(installed['Debugger']).toBe(true);
53+
expect(installed['Omnisharp']).toBe(true);
54+
expect(installed['Razor']).toBe(true);
5355
});
5456

5557
test("Doesn't log anything to the eventStream", async () => {
@@ -103,7 +105,7 @@ describe(`${installRuntimeDependencies.name}`, () => {
103105
useFramework,
104106
['myPackage']
105107
);
106-
expect(installed).toBe(true);
108+
expect(installed['myPackage']).toBe(true);
107109
isNotNull(inputPackage!);
108110
expect(inputPackage).toHaveLength(1);
109111
expect(inputPackage[0]).toStrictEqual(

0 commit comments

Comments
 (0)