@@ -127,6 +127,9 @@ describe.sequential("install all", () => {
127
127
publish ( path . join ( remoteStorage , "c-0.0.2" ) , ctx . registry . endpoint , "fake-token" ) ,
128
128
publish ( path . join ( remoteStorage , "d-0.0.1" ) , ctx . registry . endpoint , "fake-token" ) ,
129
129
publish ( path . join ( remoteStorage , "e-0.0.1" ) , ctx . registry . endpoint , "fake-token" ) ,
130
+ publish ( path . join ( remoteStorage , "e-0.0.2" ) , ctx . registry . endpoint , "fake-token" ) ,
131
+ publish ( path . join ( remoteStorage , "f-0.0.1" ) , ctx . registry . endpoint , "fake-token" ) ,
132
+ publish ( path . join ( remoteStorage , "e-0.0.3" ) , ctx . registry . endpoint , "fake-token" ) ,
130
133
] ) ;
131
134
}
132
135
@@ -155,6 +158,8 @@ describe.sequential("install all", () => {
155
158
"a-0.0.1" ,
156
159
"b-0.0.1" ,
157
160
"c-0.0.1" ,
161
+ "f-0.0.1" ,
162
+ "e-0.0.3" ,
158
163
] ) ) ;
159
164
160
165
expect ( result . deps ) . toStrictEqual ( {
@@ -200,6 +205,27 @@ describe.sequential("install all", () => {
200
205
target : expect . any ( String ) ,
201
206
meta : expect . any ( Object ) ,
202
207
} ,
208
+ "e-0.0.2" : {
209
+ name : "e" ,
210
+ version : "0.0.2" ,
211
+ isAlreadyExist : false ,
212
+ target : expect . any ( String ) ,
213
+ meta : expect . any ( Object ) ,
214
+ } ,
215
+ "e-0.0.3" : {
216
+ name : "e" ,
217
+ version : "0.0.3" ,
218
+ isAlreadyExist : false ,
219
+ target : expect . any ( String ) ,
220
+ meta : expect . any ( Object ) ,
221
+ } ,
222
+ "f-0.0.1" : {
223
+ name : "f" ,
224
+ version : "0.0.1" ,
225
+ isAlreadyExist : false ,
226
+ target : expect . any ( String ) ,
227
+ meta : expect . any ( Object ) ,
228
+ } ,
203
229
} ) ;
204
230
205
231
const fileList = await globby ( `**/${ ooPackageName } ` , {
@@ -215,6 +241,9 @@ describe.sequential("install all", () => {
215
241
"c-0.0.2/package.oo.yaml" ,
216
242
"d-0.0.1/package.oo.yaml" ,
217
243
"e-0.0.1/package.oo.yaml" ,
244
+ "e-0.0.2/package.oo.yaml" ,
245
+ "e-0.0.3/package.oo.yaml" ,
246
+ "f-0.0.1/package.oo.yaml" ,
218
247
] ) ) ;
219
248
} ) ;
220
249
} ) ;
0 commit comments