@@ -333,7 +333,7 @@ test.serial('should release all the things (pre-release, github, gitlab)', async
333333 t . true ( log . obtrusive . firstCall . args [ 0 ] . endsWith ( `release ${ pkgName } (1.0.0...1.1.0-alpha.0)` ) ) ;
334334 t . true ( log . log . firstCall . args [ 0 ] . endsWith ( `https://www.npmjs.com/package/${ pkgName } ` ) ) ;
335335 t . true ( log . log . secondCall . args [ 0 ] . endsWith ( `https://github.com/${ owner } /${ project } /releases/tag/v1.1.0-alpha.0` ) ) ;
336- t . true ( log . log . args [ 3 ] [ 0 ] . endsWith ( `${ project } /-/releases` ) ) ;
336+ t . true ( log . log . thirdCall . args [ 0 ] . endsWith ( `${ project } /-/releases` ) ) ;
337337 t . regex ( log . log . lastCall . args [ 0 ] , / D o n e \( i n [ 0 - 9 ] + s \. \) / ) ;
338338
339339 exec . restore ( ) ;
@@ -365,7 +365,7 @@ test.serial('should publish pre-release without pre-id with different npm.tag',
365365 t . is ( stdout . trim ( ) , 'v2.0.0-0' ) ;
366366 t . true ( log . obtrusive . firstCall . args [ 0 ] . endsWith ( `release ${ pkgName } (1.0.0...2.0.0-0)` ) ) ;
367367 t . true ( log . log . firstCall . args [ 0 ] . endsWith ( `https://www.npmjs.com/package/${ pkgName } ` ) ) ;
368- t . regex ( log . log . args [ 1 ] [ 0 ] , / D o n e \( i n [ 0 - 9 ] + s \. \) / ) ;
368+ t . regex ( log . log . lastCall . args [ 0 ] , / D o n e \( i n [ 0 - 9 ] + s \. \) / ) ;
369369
370370 exec . restore ( ) ;
371371} ) ;
@@ -385,7 +385,7 @@ test.serial('should handle private package correctly, bump lockfile', async t =>
385385 t . deepEqual ( npmArgs , [ 'npm version 1.0.1 --no-git-tag-version' ] ) ;
386386 t . true ( log . obtrusive . firstCall . args [ 0 ] . endsWith ( `release ${ pkgName } (1.0.0...1.0.1)` ) ) ;
387387 t . is ( log . warn . length , 0 ) ;
388- t . regex ( log . log . args [ 0 ] [ 0 ] , / D o n e \( i n [ 0 - 9 ] + s \. \) / ) ;
388+ t . regex ( log . log . firstCall . args [ 0 ] , / D o n e \( i n [ 0 - 9 ] + s \. \) / ) ;
389389
390390 exec . restore ( ) ;
391391} ) ;
0 commit comments