Skip to content

Commit 598d22c

Browse files
committed
chore: fix unit tests
1 parent 07a2f78 commit 598d22c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/npm-support.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ function createTestInjector(): IInjector {
106106
testInjector.register("pacoteService", {
107107
extractPackage: async (packageName: string, destinationDirectory: string, options?: IPacoteExtractOptions): Promise<void> => undefined
108108
});
109+
testInjector.register("usbLiveSyncService", () => ({}));
109110

110111
return testInjector;
111112
}

test/platform-commands.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ function createTestInjector() {
179179
testInjector.register("pacoteService", {
180180
extractPackage: async (packageName: string, destinationDirectory: string, options?: IPacoteExtractOptions): Promise<void> => undefined
181181
});
182+
testInjector.register("usbLiveSyncService", ({}));
182183

183184
return testInjector;
184185
}

0 commit comments

Comments
 (0)