Skip to content

Commit 5dc21ba

Browse files
committed
chore: fix unit tests
1 parent ac63ef6 commit 5dc21ba

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/platform-commands.ts

+3
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ function createTestInjector() {
187187
testInjector.register("addPlatformService", {});
188188
testInjector.register("platformController", {});
189189
testInjector.register("platformCommandHelper", PlatformCommandHelper);
190+
testInjector.register("bundleValidatorHelper", {
191+
validate: () => ({})
192+
});
190193

191194
return testInjector;
192195
}

test/plugins-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ function createTestInjector() {
150150
testInjector.register("cleanupService", {
151151
setShouldDispose: (shouldDispose: boolean): void => undefined
152152
});
153+
testInjector.register("bundleValidatorHelper", {
154+
validate: () => ({})
155+
});
153156

154157
return testInjector;
155158
}

0 commit comments

Comments
 (0)