@@ -401,6 +401,9 @@ describe('Platform Service Tests', () => {
401
401
402
402
const appDestFolderPath = path . join ( tempFolder , "appDest" ) ;
403
403
const appResourcesFolderPath = path . join ( appDestFolderPath , "App_Resources" ) ;
404
+ const appResourcesPath = path . join ( appFolderPath , "App_Resources/Android" ) ;
405
+ fs . createDirectory ( appResourcesPath ) ;
406
+ fs . writeFile ( path . join ( appResourcesPath , "test.txt" ) , "test" ) ;
404
407
fs . writeJson ( path . join ( tempFolder , "package.json" ) , {
405
408
name : "testname" ,
406
409
nativescript : {
@@ -866,11 +869,12 @@ describe('Platform Service Tests', () => {
866
869
projectRoot : testDirData . tempFolder ,
867
870
platformProjectService : {
868
871
prepareProject : ( ) : any => null ,
872
+ prepareAppResources : ( ) : any => null ,
869
873
validate : ( ) => Promise . resolve ( ) ,
870
874
createProject : ( projectRoot : string , frameworkDir : string ) => Promise . resolve ( ) ,
871
875
interpolateData : ( projectRoot : string ) => Promise . resolve ( ) ,
872
876
afterCreateProject : ( projectRoot : string ) : any => null ,
873
- getAppResourcesDestinationDirectoryPath : ( ) => "" ,
877
+ getAppResourcesDestinationDirectoryPath : ( ) => testDirData . appResourcesFolderPath ,
874
878
processConfigurationFilesFromAppResources : ( ) => Promise . resolve ( ) ,
875
879
ensureConfigurationFileInAppResources : ( ) : any => null ,
876
880
interpolateConfigurationFile : ( ) : void => undefined ,
0 commit comments