@@ -83,16 +83,16 @@ const objcTemplate = `
8383` ;
8484
8585describe ( 'iOS init command - pure functions' , ( ) => {
86- it ( 'should correctly modify Swift AppDelegate content' , ( ) => {
87- const modifiedContent = modifySwiftAppDelegate ( swiftTemplate ) ;
88- expect ( modifiedContent ) . toContain ( 'CodePush.bundleURL()' ) ;
89- expect ( modifiedContent ) . not . toContain ( 'Bundle.main.url(forResource: "main", withExtension: "jsbundle")' ) ;
90- } ) ;
86+ it ( 'should correctly modify Swift AppDelegate content' , ( ) => {
87+ const modifiedContent = modifySwiftAppDelegate ( swiftTemplate ) ;
88+ expect ( modifiedContent ) . toContain ( 'CodePush.bundleURL()' ) ;
89+ expect ( modifiedContent ) . not . toContain ( 'Bundle.main.url(forResource: "main", withExtension: "jsbundle")' ) ;
90+ } ) ;
9191
92- it ( 'should correctly modify Objective-C AppDelegate content' , ( ) => {
93- const modifiedContent = modifyObjectiveCAppDelegate ( objcTemplate ) ;
94- expect ( modifiedContent ) . toContain ( '#import <CodePush/CodePush.h>' ) ;
95- expect ( modifiedContent ) . toContain ( '[CodePush bundleURL]' ) ;
96- expect ( modifiedContent ) . not . toContain ( '[[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];' ) ;
97- } ) ;
92+ it ( 'should correctly modify Objective-C AppDelegate content' , ( ) => {
93+ const modifiedContent = modifyObjectiveCAppDelegate ( objcTemplate ) ;
94+ expect ( modifiedContent ) . toContain ( '#import <CodePush/CodePush.h>' ) ;
95+ expect ( modifiedContent ) . toContain ( '[CodePush bundleURL]' ) ;
96+ expect ( modifiedContent ) . not . toContain ( '[[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];' ) ;
97+ } ) ;
9898} ) ;
0 commit comments