@@ -647,8 +647,7 @@ test("uninstall should remove subdependencies", () => {
647
647
} ) ;
648
648
} ) ;
649
649
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)" ,
652
651
async ( ) => {
653
652
let mirrorPath = "mirror-for-offline" ;
654
653
let fixture = "install-import-pr" ;
@@ -668,7 +667,6 @@ async () => {
668
667
669
668
let lockFileContent = await fs . readFile ( path . join ( config . cwd , "fbkpm.lock" ) ) ;
670
669
let lockFileLines = lockFileContent . split ( "\n" ) . filter ( ( line ) => ! ! line ) ;
671
- // TODO error here
672
670
assert . equal ( lockFileLines . length , 14 ) ;
673
671
assert . equal ( lockFileLines [ 4 ] . indexOf ( "mime-db@" ) , 0 ) ;
674
672
assert . equal ( lockFileLines [ 8 ] . indexOf ( "mime-types@2.0.0" ) , 0 ) ;
@@ -679,8 +677,7 @@ async () => {
679
677
} ) ;
680
678
} ) ;
681
679
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)" ,
684
681
async ( ) => {
685
682
// mime-types@2.0.0 is saved in local mirror and gets updated to mime-types@2.1.11 via
686
683
// a change in package.json,
0 commit comments