@@ -479,11 +479,11 @@ Initial release
479
479
480
480
// Find the actual tag call to check
481
481
const tagCalls = mockSpawnSync . mock . calls . filter (
482
- call => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
482
+ ( call : any ) => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
483
483
)
484
484
485
485
// Check that the tag includes at least the version header from the changelog
486
- const matchingCall = tagCalls . some ( call =>
486
+ const matchingCall = tagCalls . some ( ( call : any ) =>
487
487
call [ 0 ] [ 0 ] === 'tag'
488
488
&& call [ 0 ] [ 1 ] === '-a'
489
489
&& call [ 0 ] [ 2 ] === 'v1.0.1'
@@ -510,11 +510,11 @@ Initial release
510
510
511
511
// Find the actual tag call to check
512
512
const tagCalls = mockSpawnSync . mock . calls . filter (
513
- call => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) ,
513
+ ( call : any ) => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) ,
514
514
)
515
515
516
516
// We just check that a tag was created with the correct version
517
- const basicTagCall = tagCalls . some ( call =>
517
+ const basicTagCall = tagCalls . some ( ( call : any ) =>
518
518
call [ 0 ] [ 0 ] === 'tag'
519
519
&& call [ 0 ] . includes ( 'v1.0.1' ) ,
520
520
)
@@ -550,11 +550,11 @@ Initial release
550
550
551
551
// Find the actual tag call to check
552
552
const tagCalls = mockSpawnSync . mock . calls . filter (
553
- call => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
553
+ ( call : any ) => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
554
554
)
555
555
556
556
// We expect the implementation to extract content from the changelog
557
- const matchingCall = tagCalls . some ( call =>
557
+ const matchingCall = tagCalls . some ( ( call : any ) =>
558
558
call [ 0 ] [ 0 ] === 'tag'
559
559
&& call [ 0 ] [ 1 ] === '-a'
560
560
&& call [ 0 ] [ 2 ] === 'v1.0.1'
@@ -591,11 +591,11 @@ Initial release
591
591
592
592
// Find the actual tag call to check
593
593
const tagCalls = mockSpawnSync . mock . calls . filter (
594
- call => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
594
+ ( call : any ) => call [ 0 ] && call [ 0 ] . includes && call [ 0 ] . includes ( 'tag' ) && call [ 0 ] . includes ( '-m' ) ,
595
595
)
596
596
597
597
// Check that one of the calls includes the changelog content
598
- const matchingCall = tagCalls . some ( call =>
598
+ const matchingCall = tagCalls . some ( ( call : any ) =>
599
599
call [ 0 ] [ 0 ] === 'tag'
600
600
&& call [ 0 ] [ 1 ] === '-a'
601
601
&& call [ 0 ] [ 2 ] === 'v1.0.1'
0 commit comments