Skip to content

Commit 4066ecc

Browse files
committed
chore: fix tests
1 parent b95b7ca commit 4066ecc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/controllers/prepare-controller.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ function createTestInjector(data: { hasNativeChanges: boolean }): IInjector {
4545

4646
injector.register("prepareController", PrepareController);
4747

48+
injector.register("nodeModulesDependenciesBuilder", {
49+
getProductionDependencies: () => (<any>[])
50+
});
51+
4852
const prepareController: PrepareController = injector.resolve("prepareController");
4953
prepareController.emit = (eventName: string, eventData: any) => {
5054
emittedEventNames.push(eventName);

0 commit comments

Comments
 (0)