File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
apps/rush-lib/src/data/test Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,7 @@ describe('VersionMismatchFinder', () => {
269269 done ( ) ;
270270 } ) ;
271271
272- it ( 'checks peer dependencies' , ( done : MochaDone ) => {
272+ it ( 'does not check peer dependencies' , ( done : MochaDone ) => {
273273 const projects : RushConfigurationProject [ ] = [
274274 {
275275 packageName : 'A' ,
@@ -294,12 +294,7 @@ describe('VersionMismatchFinder', () => {
294294 ] as any as RushConfigurationProject [ ] ; // tslint:disable-line:no-any
295295 const mismatchFinder : VersionMismatchFinder = new VersionMismatchFinder ( projects ) ;
296296 assert . isNumber ( mismatchFinder . numberOfMismatches ) ;
297- assert . equal ( mismatchFinder . numberOfMismatches , 1 ) ;
298- assert . equal ( mismatchFinder . getMismatches ( ) . length , 1 ) ;
299- assert . equal ( mismatchFinder . getMismatches ( ) [ 0 ] , '@types/foo' ) ;
300- assert . includeMembers ( mismatchFinder . getVersionsOfMismatch ( '@types/foo' ) ! , [ '2.0.0' , '1.2.3' ] ) ;
301- assert . equal ( mismatchFinder . getConsumersOfMismatch ( '@types/foo' , '2.0.0' ) , 'B' ) ;
302- assert . equal ( mismatchFinder . getConsumersOfMismatch ( '@types/foo' , '1.2.3' ) , 'A' ) ;
297+ assert . equal ( mismatchFinder . numberOfMismatches , 0 ) ;
303298 done ( ) ;
304299 } ) ;
305300
You can’t perform that action at this time.
0 commit comments