Skip to content

Commit 3488c61

Browse files
Fix unit tests
Fix unit tests
1 parent 2299537 commit 3488c61

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

test/npm-support.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ function setupProject(): IFuture<any> {
120120
platformProjectService: {
121121
prepareProject: () => Future.fromResult(),
122122
prepareAppResources: () => Future.fromResult(),
123-
afterPrepareAllPlugins: () => Future.fromResult()
123+
afterPrepareAllPlugins: () => Future.fromResult(),
124+
getAppResourcesDestinationDirectoryPath: () => Future.fromResult("")
124125
}
125126
};
126127
};

test/platform-service.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ describe('Platform Service Tests', () => {
218218
validate: () => Future.fromResult(),
219219
createProject: (projectRoot: string, frameworkDir: string) => Future.fromResult(),
220220
interpolateData: (projectRoot: string) => Future.fromResult(),
221-
afterCreateProject: (projectRoot: string) => Future.fromResult()
221+
afterCreateProject: (projectRoot: string) => Future.fromResult(),
222+
getAppResourcesDestinationDirectoryPath: () => Future.fromResult("")
222223
}
223224
};
224225
};
@@ -276,7 +277,8 @@ describe('Platform Service Tests', () => {
276277
validate: () => Future.fromResult(),
277278
createProject: (projectRoot: string, frameworkDir: string) => Future.fromResult(),
278279
interpolateData: (projectRoot: string) => Future.fromResult(),
279-
afterCreateProject: (projectRoot: string) => Future.fromResult()
280+
afterCreateProject: (projectRoot: string) => Future.fromResult(),
281+
getAppResourcesDestinationDirectoryPath: () => Future.fromResult("")
280282
}
281283
};
282284
};

0 commit comments

Comments
 (0)