@@ -647,8 +647,7 @@ test("uninstall should remove subdependencies", () => {
647647 } ) ;
648648} ) ;
649649
650- // TODO https://github.com/facebook/fbkpm/issues/77
651- test . failing ( "[network] install --save should add missing deps to fbkpm and mirror (PR import scenario)" ,
650+ test ( "[network] install --save should add missing deps to fbkpm and mirror (PR import scenario)" ,
652651async ( ) => {
653652 let mirrorPath = "mirror-for-offline" ;
654653 let fixture = "install-import-pr" ;
@@ -668,7 +667,6 @@ async () => {
668667
669668 let lockFileContent = await fs . readFile ( path . join ( config . cwd , "fbkpm.lock" ) ) ;
670669 let lockFileLines = lockFileContent . split ( "\n" ) . filter ( ( line ) => ! ! line ) ;
671- // TODO error here
672670 assert . equal ( lockFileLines . length , 14 ) ;
673671 assert . equal ( lockFileLines [ 4 ] . indexOf ( "mime-db@" ) , 0 ) ;
674672 assert . equal ( lockFileLines [ 8 ] . indexOf ( "mime-types@2.0.0" ) , 0 ) ;
@@ -679,8 +677,7 @@ async () => {
679677 } ) ;
680678} ) ;
681679
682- // TODO https://github.com/facebook/fbkpm/issues/78
683- test . failing ( "[network] install --save should update a dependency to fbkpm and mirror (PR import scenario 2)" ,
680+ test . only ( "[network] install --save should update a dependency to fbkpm and mirror (PR import scenario 2)" ,
684681async ( ) => {
685682 // mime-types@2.0.0 is saved in local mirror and gets updated to mime-types@2.1.11 via
686683 // a change in package.json,
0 commit comments