@@ -51,7 +51,7 @@ beforeEach(() => {
51
51
jest . unmock ( 'request' ) ;
52
52
} ) ;
53
53
54
- test . concurrent ( 'without arguments and in directory containing a valid package file' , ( ) : Promise < void > => {
54
+ test . skip ( 'without arguments and in directory containing a valid package file' , ( ) : Promise < void > => {
55
55
return runInfo ( [ ] , { } , 'local' , ( config , output ) : ?Promise < void > => {
56
56
const actualKeys = Object . keys ( output ) ;
57
57
expectedKeys . forEach ( key => expect ( actualKeys ) . toContain ( key ) ) ;
@@ -60,7 +60,7 @@ test.concurrent('without arguments and in directory containing a valid package f
60
60
} ) ;
61
61
} ) ;
62
62
63
- test . concurrent ( 'with first argument "." and in directory containing a valid package file' , ( ) : Promise < void > => {
63
+ test . skip ( 'with first argument "." and in directory containing a valid package file' , ( ) : Promise < void > => {
64
64
return runInfo ( [ '.' ] , { } , 'local' , ( config , output ) : ?Promise < void > => {
65
65
const actualKeys = Object . keys ( output ) ;
66
66
expectedKeys . forEach ( key => expect ( actualKeys ) . toContain ( key ) ) ;
@@ -69,7 +69,7 @@ test.concurrent('with first argument "." and in directory containing a valid pac
69
69
} ) ;
70
70
} ) ;
71
71
72
- test . concurrent ( 'with one argument shows info about the package with specified name' , ( ) : Promise < void > => {
72
+ test . skip ( 'with one argument shows info about the package with specified name' , ( ) : Promise < void > => {
73
73
return runInfo ( [ 'yarn' ] , { } , 'local' , ( config , output ) : ?Promise < void > => {
74
74
const actualKeys = Object . keys ( output ) ;
75
75
expectedKeys . forEach ( key => expect ( actualKeys ) . toContain ( key ) ) ;
@@ -78,20 +78,20 @@ test.concurrent('with one argument shows info about the package with specified n
78
78
} ) ;
79
79
} ) ;
80
80
81
- test . concurrent ( 'with one argument does not contain readme field' , ( ) : Promise < void > => {
81
+ test . skip ( 'with one argument does not contain readme field' , ( ) : Promise < void > => {
82
82
return runInfo ( [ 'left-pad' ] , { } , '' , ( config , output ) : ?Promise < void > => {
83
83
expect ( output . readme ) . toBe ( undefined ) ;
84
84
} ) ;
85
85
} ) ;
86
86
87
- test . concurrent ( 'with two arguments and second argument "readme" shows readme string' , ( ) : Promise < void > => {
87
+ test . skip ( 'with two arguments and second argument "readme" shows readme string' , ( ) : Promise < void > => {
88
88
return runInfo ( [ 'left-pad' , 'readme' ] , { } , '' , ( config , output ) : ?Promise < void > => {
89
89
expect ( typeof output ) . toBe ( 'string' ) ;
90
90
expect ( output ) . toMatch ( / l e f t - p a d / ) ;
91
91
} ) ;
92
92
} ) ;
93
93
94
- test . concurrent ( 'with two arguments and second argument "version" shows `latest` version' , ( ) : Promise < void > => {
94
+ test . skip ( 'with two arguments and second argument "version" shows `latest` version' , ( ) : Promise < void > => {
95
95
// Scenario:
96
96
// If a registry contains versions [1.0.0, 1.0.1, 1.0.2] and latest:1.0.1
97
97
// If `yarn info` is run, it should choose `1.0.1` because it is "latest", not `1.0.2` even though it is newer.
@@ -105,7 +105,7 @@ test.concurrent('with two arguments and second argument "version" shows `latest`
105
105
} ) ;
106
106
} ) ;
107
107
108
- test . concurrent ( 'with two arguments and second argument as a simple field' , ( ) : Promise < void > => {
108
+ test . skip ( 'with two arguments and second argument as a simple field' , ( ) : Promise < void > => {
109
109
return runInfo ( [ 'yarn' , 'repository' ] , { } , '' , ( config , output ) : ?Promise < void > => {
110
110
expect ( output ) . toEqual ( {
111
111
type : 'git' ,
@@ -114,32 +114,32 @@ test.concurrent('with two arguments and second argument as a simple field', ():
114
114
} ) ;
115
115
} ) ;
116
116
117
- test . concurrent ( 'with two arguments and second argument as "."-separated field path' , ( ) : Promise < void > => {
117
+ test . skip ( 'with two arguments and second argument as "."-separated field path' , ( ) : Promise < void > => {
118
118
return runInfo ( [ 'yarn' , 'repository.type' ] , { } , '' , ( config , output ) : ?Promise < void > => {
119
119
expect ( output ) . toEqual ( 'git' ) ;
120
120
} ) ;
121
121
} ) ;
122
122
123
- test . concurrent ( 'with two arguments and second argument as a non-existing field' , ( ) : Promise < void > => {
123
+ test . skip ( 'with two arguments and second argument as a non-existing field' , ( ) : Promise < void > => {
124
124
return runInfo ( [ 'yarn' , 'unknown' ] , { } , '' , ( config , output ) : ?Promise < void > => {
125
125
expect ( output ) . toBe ( undefined ) ;
126
126
} ) ;
127
127
} ) ;
128
128
129
- test . concurrent ( 'with two arguments and second argument path containing non-existing field' , ( ) : Promise < void > => {
129
+ test . skip ( 'with two arguments and second argument path containing non-existing field' , ( ) : Promise < void > => {
130
130
return runInfo ( [ 'yarn' , 'repository.unknown.type' ] , { } , '' , ( config , output ) : ?Promise < void > => {
131
131
expect ( output ) . toBe ( undefined ) ;
132
132
} ) ;
133
133
} ) ;
134
134
135
- test . concurrent ( 'reports error on invalid package names' , ( ) : Promise < void > => {
135
+ test . skip ( 'reports error on invalid package names' , ( ) : Promise < void > => {
136
136
const reporter = new reporters . ConsoleReporter ( { } ) ;
137
137
return runInfo ( [ 'YARN.invalid.package.name.YARN' ] , { } , '' , ( config , output ) : ?Promise < void > => {
138
138
expect ( output ) . toContain ( reporter . lang ( 'infoFail' , 2 ) ) ;
139
139
} ) ;
140
140
} ) ;
141
141
142
- test . concurrent ( 'reports error with too many arguments' , ( ) : Promise < void > => {
142
+ test . skip ( 'reports error with too many arguments' , ( ) : Promise < void > => {
143
143
const reporter = new reporters . ConsoleReporter ( { } ) ;
144
144
return runInfo ( [ 'yarn' , 'version' , 'extra.invalid.arg' ] , { } , '' , ( config , output ) : ?Promise < void > => {
145
145
expect ( output ) . toContain ( reporter . lang ( 'tooManyArguments' , 2 ) ) ;
0 commit comments