@@ -617,7 +617,8 @@ test("uninstall should remove subdependencies", () => {
617
617
} ) ;
618
618
} ) ;
619
619
620
- test ( "install --save should add missing deps to fbkpm and mirror (PR import scenario)" , async ( ) => {
620
+ // TODO https://github.com/facebook/fbkpm/issues/77
621
+ test . skip ( "install --save should add missing deps to fbkpm and mirror (PR import scenario)" , async ( ) => {
621
622
let mirrorPath = "mirror-for-offline" ;
622
623
let fixture = "install-import-pr" ;
623
624
let cwd = path . join ( fixturesLoc , fixture ) ;
@@ -650,8 +651,8 @@ test("install --save should add missing deps to fbkpm and mirror (PR import scen
650
651
} ) ;
651
652
} ) ;
652
653
653
-
654
- test ( "install --save should update a dependency to fbkpm and mirror (PR import scenario 2)" , async ( ) => {
654
+ // TODO https://github.com/facebook/fbkpm/issues/78
655
+ test . only ( "install --save should update a dependency to fbkpm and mirror (PR import scenario 2)" , async ( ) => {
655
656
// mime-types@2.0.0 is saved in local mirror and gets updated to mime-types@2.1.11 via
656
657
// a change in package.json,
657
658
// files in mirror, fbkpm.lock, package.json and node_modules should reflect that
@@ -793,7 +794,8 @@ test("install --save with new dependency should be deterministic", async () => {
793
794
} ) ;
794
795
} ) ;
795
796
796
- test ( "install --save with new dependency should be deterministic 2" , async ( ) => {
797
+ // TODO https://github.com/facebook/fbkpm/issues/79
798
+ test . skip ( "install --save with new dependency should be deterministic 2" , async ( ) => {
797
799
// mime-types@2.0.0->mime-db@1.0.1 is saved in local mirror and is deduped
798
800
// install mime-db@1.0.3 should replace mime-db@1.0.1 in root
799
801
@@ -877,8 +879,6 @@ test("install --save should ignore cache", () => {
877
879
assert . equal ( lockFileLines . length , 4 ) ;
878
880
assert . notEqual ( lockFileLines [ 3 ] . indexOf ( "resolved left-pad-1.1.0.tgz" ) , - 1 ) ;
879
881
880
- throw new Error ( "AA" )
881
-
882
882
let mirror = await fs . walk ( path . join ( config . cwd , mirrorPath ) ) ;
883
883
assert . equal ( mirror . length , 1 ) ;
884
884
assert . equal ( mirror [ 0 ] . relative , "left-pad-1.1.0.tgz" ) ;
0 commit comments