@@ -394,6 +394,9 @@ describe('Platform Service Tests', () => {
394
394
395
395
const appDestFolderPath = path . join ( tempFolder , "appDest" ) ;
396
396
const appResourcesFolderPath = path . join ( appDestFolderPath , "App_Resources" ) ;
397
+ const appResourcesPath = path . join ( appFolderPath , "App_Resources/Android" ) ;
398
+ fs . createDirectory ( appResourcesPath ) ;
399
+ fs . writeFile ( path . join ( appResourcesPath , "test.txt" ) , "test" ) ;
397
400
fs . writeJson ( path . join ( tempFolder , "package.json" ) , {
398
401
name : "testname" ,
399
402
nativescript : {
@@ -859,11 +862,12 @@ describe('Platform Service Tests', () => {
859
862
projectRoot : testDirData . tempFolder ,
860
863
platformProjectService : {
861
864
prepareProject : ( ) : any => null ,
865
+ prepareAppResources : ( ) : any => null ,
862
866
validate : ( ) => Promise . resolve ( ) ,
863
867
createProject : ( projectRoot : string , frameworkDir : string ) => Promise . resolve ( ) ,
864
868
interpolateData : ( projectRoot : string ) => Promise . resolve ( ) ,
865
869
afterCreateProject : ( projectRoot : string ) : any => null ,
866
- getAppResourcesDestinationDirectoryPath : ( ) => "" ,
870
+ getAppResourcesDestinationDirectoryPath : ( ) => testDirData . appResourcesFolderPath ,
867
871
processConfigurationFilesFromAppResources : ( ) => Promise . resolve ( ) ,
868
872
ensureConfigurationFileInAppResources : ( ) : any => null ,
869
873
interpolateConfigurationFile : ( ) : void => undefined ,
0 commit comments