@@ -171,8 +171,7 @@ describe('setup-node', () => {
171
171
// Found in cache tests
172
172
//--------------------------------------------------
173
173
174
- // Usage of pre-cached Node.js versions is temporarily disabled.
175
- xit ( 'finds version in cache with stable true' , async ( ) => {
174
+ it ( 'finds version in cache with stable true' , async ( ) => {
176
175
inputs [ 'node-version' ] = '12' ;
177
176
inputs . stable = 'true' ;
178
177
@@ -183,8 +182,7 @@ describe('setup-node', () => {
183
182
expect ( logSpy ) . toHaveBeenCalledWith ( `Found in cache @ ${ toolPath } ` ) ;
184
183
} ) ;
185
184
186
- // Usage of pre-cached Node.js versions is temporarily disabled.
187
- xit ( 'finds version in cache with stable not supplied' , async ( ) => {
185
+ it ( 'finds version in cache with stable not supplied' , async ( ) => {
188
186
inputs [ 'node-version' ] = '12' ;
189
187
190
188
inSpy . mockImplementation ( name => inputs [ name ] ) ;
@@ -196,8 +194,7 @@ describe('setup-node', () => {
196
194
expect ( logSpy ) . toHaveBeenCalledWith ( `Found in cache @ ${ toolPath } ` ) ;
197
195
} ) ;
198
196
199
- // Usage of pre-cached Node.js versions is temporarily disabled.
200
- xit ( 'finds version in cache and adds it to the path' , async ( ) => {
197
+ it ( 'finds version in cache and adds it to the path' , async ( ) => {
201
198
inputs [ 'node-version' ] = '12' ;
202
199
203
200
inSpy . mockImplementation ( name => inputs [ name ] ) ;
@@ -387,8 +384,7 @@ describe('setup-node', () => {
387
384
} , 100000 ) ;
388
385
389
386
describe ( 'check-latest flag' , ( ) => {
390
- // Usage of pre-cached Node.js versions is temporarily disabled.
391
- xit ( 'use local version and dont check manifest if check-latest is not specified' , async ( ) => {
387
+ it ( 'use local version and dont check manifest if check-latest is not specified' , async ( ) => {
392
388
os . platform = 'linux' ;
393
389
os . arch = 'x64' ;
394
390
@@ -409,8 +405,7 @@ describe('setup-node', () => {
409
405
) ;
410
406
} ) ;
411
407
412
- // Usage of pre-cached Node.js versions is temporarily disabled.
413
- xit ( 'check latest version and resolve it from local cache' , async ( ) => {
408
+ it ( 'check latest version and resolve it from local cache' , async ( ) => {
414
409
os . platform = 'linux' ;
415
410
os . arch = 'x64' ;
416
411
@@ -561,8 +556,7 @@ describe('setup-node', () => {
561
556
inputs . stable = 'true' ;
562
557
} ) ;
563
558
564
- // Usage of pre-cached Node.js versions is temporarily disabled.
565
- xit ( 'find latest LTS version and resolve it from local cache (lts/erbium)' , async ( ) => {
559
+ it ( 'find latest LTS version and resolve it from local cache (lts/erbium)' , async ( ) => {
566
560
// arrange
567
561
inputs [ 'node-version' ] = 'lts/erbium' ;
568
562
@@ -632,8 +626,7 @@ describe('setup-node', () => {
632
626
) ;
633
627
} ) ;
634
628
635
- // Usage of pre-cached Node.js versions is temporarily disabled.
636
- xit ( 'find latest LTS version and resolve it from local cache (lts/*)' , async ( ) => {
629
+ it ( 'find latest LTS version and resolve it from local cache (lts/*)' , async ( ) => {
637
630
// arrange
638
631
inputs [ 'node-version' ] = 'lts/*' ;
639
632
0 commit comments