Skip to content

Commit 5bc7a58

Browse files
chore: Fix unit-tests
1 parent e6979ef commit 5bc7a58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/platform-commands.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ function createTestInjector() {
165165
getPlaygroundInfo: () => Promise.resolve(null)
166166
});
167167
testInjector.register("filesHashService", {});
168+
testInjector.register("platformEnvironmentRequirements", {
169+
checkEnvironmentRequirements: async (platform?: string, projectDir?: string, runtimeVersion?: string): Promise<boolean> => true
170+
});
168171

169172
return testInjector;
170173
}

0 commit comments

Comments
 (0)