@@ -549,7 +549,7 @@ describe('setup-node', () => {
549
549
await main . run ( ) ;
550
550
551
551
// assert
552
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
552
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
553
553
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
554
554
expect ( dbgSpy ) . toHaveBeenCalledWith ( `LTS alias 'erbium' for Node version 'lts/erbium'` )
555
555
expect ( dbgSpy ) . toHaveBeenCalledWith ( `Found LTS release '12.16.2' for Node version 'lts/erbium'` )
@@ -577,7 +577,7 @@ describe('setup-node', () => {
577
577
await main . run ( ) ;
578
578
579
579
// assert
580
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
580
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
581
581
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
582
582
expect ( dbgSpy ) . toHaveBeenCalledWith ( `LTS alias 'erbium' for Node version 'lts/erbium'` )
583
583
expect ( dbgSpy ) . toHaveBeenCalledWith ( `Found LTS release '12.16.2' for Node version 'lts/erbium'` )
@@ -604,7 +604,7 @@ describe('setup-node', () => {
604
604
await main . run ( ) ;
605
605
606
606
// assert
607
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
607
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
608
608
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
609
609
expect ( dbgSpy ) . toHaveBeenCalledWith ( `LTS alias '*' for Node version 'lts/*'` )
610
610
expect ( dbgSpy ) . toHaveBeenCalledWith ( `Found LTS release '14.0.0' for Node version 'lts/*'` )
@@ -632,7 +632,7 @@ describe('setup-node', () => {
632
632
await main . run ( ) ;
633
633
634
634
// assert
635
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
635
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
636
636
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
637
637
expect ( dbgSpy ) . toHaveBeenCalledWith ( `LTS alias '*' for Node version 'lts/*'` )
638
638
expect ( dbgSpy ) . toHaveBeenCalledWith ( `Found LTS release '14.0.0' for Node version 'lts/*'` )
@@ -658,7 +658,7 @@ describe('setup-node', () => {
658
658
await main . run ( ) ;
659
659
660
660
// assert
661
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
661
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
662
662
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
663
663
expect ( logSpy ) . toHaveBeenCalledWith ( 'Unable to resolve version from manifest...' ) ;
664
664
expect ( dbgSpy ) . toHaveBeenCalledWith ( `Unexpected LTS alias '' for Node version 'lts/'` )
@@ -680,7 +680,7 @@ describe('setup-node', () => {
680
680
await main . run ( ) ;
681
681
682
682
// assert
683
- expect ( warningSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
683
+ expect ( logSpy ) . toHaveBeenCalledWith ( 'LTS version is provided. For LTS versions `check-latest` will be automatically set to true' )
684
684
expect ( logSpy ) . toHaveBeenCalledWith ( 'Attempt to resolve the latest version from manifest...' ) ;
685
685
expect ( dbgSpy ) . toHaveBeenCalledWith ( `LTS alias 'unknown' for Node version 'lts/unknown'` )
686
686
expect ( logSpy ) . toHaveBeenCalledWith ( 'Unable to resolve version from manifest...' ) ;
0 commit comments