@@ -63,7 +63,7 @@ describe('RobotsTxtFile', () => {
6363
6464 it ( 'respects user-set timeout' , async ( ) => {
6565 const start = + Date . now ( ) ;
66- const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , undefined , { timeoutMillis : 200 } ) ;
66+ const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , { timeoutMillis : 200 } ) ;
6767
6868 await expect ( robots ) . rejects . toThrow ( / t i m e o u t / i) ;
6969 const end = + Date . now ( ) ;
@@ -77,7 +77,7 @@ describe('RobotsTxtFile', () => {
7777 setTimeout ( ( ) => controller . abort ( ) , 200 ) ;
7878
7979 const start = + Date . now ( ) ;
80- const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , undefined , { signal : controller . signal } ) ;
80+ const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , { signal : controller . signal } ) ;
8181
8282 await expect ( robots ) . rejects . toThrow ( / a b o r t e d / i) ;
8383 const end = + Date . now ( ) ;
@@ -90,7 +90,7 @@ describe('RobotsTxtFile', () => {
9090 const controller = new AbortController ( ) ;
9191
9292 const start = + Date . now ( ) ;
93- const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , undefined , {
93+ const robots = RobotsTxtFile . find ( 'http://not-exists.com/robots.txt' , {
9494 signal : controller . signal ,
9595 timeoutMillis : 200 ,
9696 } ) ;
0 commit comments