@@ -67,7 +67,7 @@ function createTestInjector(projectPath: string, projectName: string, xcode?: IX
6767testInjector . register ( "iOSEntitlementsService" , IOSEntitlementsService ) ;
6868testInjector . register ( "logger" , LoggerLib . Logger ) ;
6969testInjector . register ( "options" , OptionsLib . Options ) ;
70- var projectData = Object . assign ( { } , ProjectDataStub , {
70+ const projectData = Object . assign ( { } , ProjectDataStub , {
7171platformsDir : path . join ( projectPath , "platforms" ) ,
7272projectName : projectName ,
7373projectPath : projectPath ,
@@ -347,7 +347,7 @@ describe("Cocoapods support", () => {
347347
348348const testInjector = createTestInjector ( projectPath , projectName ) ;
349349const fs : IFileSystem = testInjector . resolve ( "fs" ) ;
350- const cocoapodsService = testInjector . resolve ( "cocoapodsService" )
350+ const cocoapodsService = testInjector . resolve ( "cocoapodsService" ) ;
351351
352352const packageJsonData = {
353353"name" : "myProject" ,
@@ -387,8 +387,8 @@ describe("Cocoapods support", () => {
387387const projectPodfilePath = path . join ( platformsFolderPath , "Podfile" ) ;
388388assert . isTrue ( fs . exists ( projectPodfilePath ) ) ;
389389
390- let actualProjectPodfileContent = fs . readText ( projectPodfilePath ) ;
391- let expectedProjectPodfileContent = [ "use_frameworks!\n" ,
390+ const actualProjectPodfileContent = fs . readText ( projectPodfilePath ) ;
391+ const expectedProjectPodfileContent = [ "use_frameworks!\n" ,
392392`target "${ projectName } " do` ,
393393`# Begin Podfile - ${ basePodfilePath } ` ,
394394`${ pluginPodfileContent } ` ,
@@ -602,7 +602,7 @@ describe("Source code support", () => {
602602await iOSProjectService . prepareNativeSourceCode ( "src" , platformSpecificAppResourcesPath , projectData ) ;
603603
604604return pbxProj ;
605- }
605+ } ;
606606
607607const preparePluginWithFiles = async ( files : string [ ] , prepareMethodToCall : string ) => {
608608// Arrange
0 commit comments