@@ -80,27 +80,27 @@ async function getPackageVersion(config, packagePath) {
80
80
path . join ( config . cwd , `node_modules/${ packagePath } /package.json` ) ) ) . version ;
81
81
}
82
82
83
- test ( "root install from shrinkwrap" , ( ) => {
83
+ test ( "[network] root install from shrinkwrap" , ( ) => {
84
84
return run ( { } , [ ] , "root-install-with-lockfile" ) ;
85
85
} ) ;
86
86
87
- test ( "root install with optional deps" , ( ) => {
87
+ test ( "[network] root install with optional deps" , ( ) => {
88
88
return run ( { } , [ ] , "root-install-with-optional-dependency" ) ;
89
89
} ) ;
90
90
91
- test ( "install with arg that has install scripts" , ( ) => {
91
+ test ( "[network] install with arg that has install scripts" , ( ) => {
92
92
return run ( { } , [ "fsevents" ] , "install-with-arg-and-install-scripts" ) ;
93
93
} ) ;
94
94
95
- test ( "install with arg" , ( ) => {
95
+ test ( "[network] install with arg" , ( ) => {
96
96
return run ( { } , [ "is-online" ] , "install-with-arg" ) ;
97
97
} ) ;
98
98
99
- test ( "install with arg that has binaries" , ( ) => {
99
+ test ( "[network] install with arg that has binaries" , ( ) => {
100
100
return run ( { } , [ "react-native-cli" ] , "install-with-arg-and-bin" ) ;
101
101
} ) ;
102
102
103
- test ( "install with --save and offline mirror" , ( ) => {
103
+ test ( "[network] install with --save and offline mirror" , ( ) => {
104
104
let mirrorPath = "mirror-for-offline" ;
105
105
return run ( { save : true } , [ "is-array@1.0.1" ] , "install-with-save-offline-mirror" , async ( config ) => {
106
106
@@ -121,7 +121,7 @@ test("install with --save and offline mirror", () => {
121
121
} ) ;
122
122
} ) ;
123
123
124
- test ( "install with --save and without offline mirror" , ( ) => {
124
+ test ( "[network] install with --save and without offline mirror" , ( ) => {
125
125
let mirrorPath = "mirror-for-offline" ;
126
126
return run ( { save : true } , [ "is-array@1.0.1" ] , "install-with-save-no-offline-mirror" , async ( config ) => {
127
127
@@ -375,7 +375,7 @@ test("upgrade scenario", () => {
375
375
} , clean ) ;
376
376
} ) ;
377
377
378
- test ( "upgrade scenario 2 (with sub dependencies)" , async ( ) => {
378
+ test ( "[network] upgrade scenario 2 (with sub dependencies)" , async ( ) => {
379
379
// mime-types@2.0.0 is saved in local mirror and gets updated to mime-types@2.1.11
380
380
// files in mirror, fbkpm.lock, package.json and node_modules should reflect that
381
381
@@ -429,7 +429,7 @@ test("upgrade scenario 2 (with sub dependencies)", async () => {
429
429
} ) ;
430
430
} ) ;
431
431
432
- test ( "downgrade scenario" , ( ) => {
432
+ test ( "[network] downgrade scenario" , ( ) => {
433
433
// left-pad first installed 1.1.0 then downgraded to 0.0.9
434
434
// files in mirror, fbkpm.lock, package.json and node_modules should reflect that
435
435
@@ -648,7 +648,8 @@ test("uninstall should remove subdependencies", () => {
648
648
} ) ;
649
649
650
650
// TODO https://github.com/facebook/fbkpm/issues/77
651
- test . skip ( "install --save should add missing deps to fbkpm and mirror (PR import scenario)" , async ( ) => {
651
+ test . failing ( "[network] install --save should add missing deps to fbkpm and mirror (PR import scenario)" ,
652
+ async ( ) => {
652
653
let mirrorPath = "mirror-for-offline" ;
653
654
let fixture = "install-import-pr" ;
654
655
let cwd = path . join ( fixturesLoc , fixture ) ;
@@ -679,7 +680,7 @@ test.skip("install --save should add missing deps to fbkpm and mirror (PR import
679
680
} ) ;
680
681
681
682
// TODO https://github.com/facebook/fbkpm/issues/78
682
- test . skip ( " install --save should update a dependency to fbkpm and mirror (PR import scenario 2)",
683
+ test . failing ( "[network] install --save should update a dependency to fbkpm and mirror (PR import scenario 2)",
683
684
async ( ) => {
684
685
// mime-types@2.0.0 is saved in local mirror and gets updated to mime-types@2.1.11 via
685
686
// a change in package.json,
@@ -738,7 +739,7 @@ async () => {
738
739
} ) ;
739
740
} ) ;
740
741
741
- test ( "install --initMirror should add init mirror deps from package.json" , async ( ) => {
742
+ test ( "[network] install --initMirror should add init mirror deps from package.json" , async ( ) => {
742
743
let mirrorPath = "mirror-for-offline" ;
743
744
let fixture = "install-init-mirror" ;
744
745
@@ -764,7 +765,7 @@ test("install --initMirror should add init mirror deps from package.json", async
764
765
} ) ;
765
766
} ) ;
766
767
767
- test ( "install --save with new dependency should be deterministic" , async ( ) => {
768
+ test ( "[network] install --save with new dependency should be deterministic" , async ( ) => {
768
769
// mime-types@2.0.0->mime-db@1.0.3 is saved in local mirror and is deduped
769
770
// install mime-db@1.23.0 should move mime-db@1.0.3 deep into mime-types
770
771
@@ -821,7 +822,7 @@ test("install --save with new dependency should be deterministic", async () => {
821
822
} ) ;
822
823
823
824
// TODO https://github.com/facebook/fbkpm/issues/79
824
- test . skip ( " install --save with new dependency should be deterministic 2", async ( ) => {
825
+ test . failing ( "[network] install --save with new dependency should be deterministic 2", async ( ) => {
825
826
// mime-types@2.0.0->mime-db@1.0.1 is saved in local mirror and is deduped
826
827
// install mime-db@1.0.3 should replace mime-db@1.0.1 in root
827
828
@@ -874,7 +875,7 @@ test.skip("install --save with new dependency should be deterministic 2", async
874
875
} ) ;
875
876
} ) ;
876
877
877
- test ( "install --save should ignore cache" , ( ) => {
878
+ test ( "[network] install --save should ignore cache" , ( ) => {
878
879
// left-pad@1.1.0 gets installed without --save
879
880
// left-pad@1.1.0 gets installed with --save
880
881
// files in mirror, fbkpm.lock, package.json and node_modules should reflect that
0 commit comments