We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95b7ca commit 4066eccCopy full SHA for 4066ecc
test/controllers/prepare-controller.ts
@@ -45,6 +45,10 @@ function createTestInjector(data: { hasNativeChanges: boolean }): IInjector {
45
46
injector.register("prepareController", PrepareController);
47
48
+ injector.register("nodeModulesDependenciesBuilder", {
49
+ getProductionDependencies: () => (<any>[])
50
+ });
51
+
52
const prepareController: PrepareController = injector.resolve("prepareController");
53
prepareController.emit = (eventName: string, eventData: any) => {
54
emittedEventNames.push(eventName);
0 commit comments