@@ -1020,7 +1020,7 @@ test('bootstrap should not override load backup-file', async () => {
10201020 expect ( repo . getToggle ( 'feature-backup' ) ?. enabled ) . toEqual ( true ) ;
10211021} ) ;
10221022
1023- test ( 'Failing twice then succeeding should shrink interval to 2x initial (404)' , async ( t ) => {
1023+ test ( 'Failing twice then succeeding should shrink interval to 2x initial (404)' , async ( _t ) => {
10241024 const url = 'http://unleash-test-fail5times.app' ;
10251025 nock ( url ) . get ( '/client/features' ) . times ( 2 ) . reply ( 404 ) ;
10261026 const repo = new Repository ( {
@@ -1067,7 +1067,7 @@ test('Failing twice then succeeding should shrink interval to 2x initial (404)',
10671067
10681068// Skipped because the HTTP client automatically retries 429 responses,
10691069// which makes the test very slow.
1070- test . skip ( 'Failing twice should increase interval to initial + 2x interval (429)' , async ( t ) => {
1070+ test . skip ( 'Failing twice should increase interval to initial + 2x interval (429)' , async ( _t ) => {
10711071 const url = 'http://unleash-test-fail5times.app' ;
10721072 nock ( url ) . persist ( ) . get ( '/client/features' ) . reply ( 429 ) ;
10731073 const repo = new Repository ( {
@@ -1086,12 +1086,12 @@ test.skip('Failing twice should increase interval to initial + 2x interval (429)
10861086 await repo . fetch ( ) ;
10871087 expect ( 2 ) . toEqual ( repo . getFailures ( ) ) ;
10881088 expect ( 30 ) . toEqual ( repo . nextFetch ( ) ) ;
1089- repo . stop ( )
1089+ repo . stop ( ) ;
10901090} ) ;
10911091
10921092// Skipped because the HTTP client automatically retries 429 responses,
10931093// which makes the test very slow.
1094- test . skip ( 'Failing twice then succeeding should shrink interval to 2x initial (429)' , async ( t ) => {
1094+ test . skip ( 'Failing twice then succeeding should shrink interval to 2x initial (429)' , async ( _t ) => {
10951095 const url = 'http://unleash-test-fail5times.app' ;
10961096 nock ( url ) . persist ( ) . get ( '/client/features' ) . reply ( 429 ) ;
10971097 const repo = new Repository ( {
0 commit comments