File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ const command = 'node -e "require(\'.\').request(\'https://httpbin.org/get\')"'
7
7
8
8
test ( "respect Node.js' --max-http-header-size" , async ( t ) => {
9
9
t . throws (
10
- // TODO: Drop the `--unhandled-rejections=throw` once we drop Node.js 14
11
- ( ) => execSync ( `${ command } --max-http-header-size=1 --unhandled-rejections=throw` ) ,
10
+ ( ) => execSync ( `${ command } --max-http-header-size=1` ) ,
12
11
/ U N D _ E R R _ H E A D E R S _ O V E R F L O W / ,
13
12
'max-http-header-size=1 should throw'
14
13
)
Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ const command = 'node -e "require(\'./undici-fetch.js\').fetch(\'https://httpbin
8
8
9
9
test ( "respect Node.js' --max-http-header-size" , async ( ) => {
10
10
assert . throws (
11
- // TODO: Drop the `--unhandled-rejections=throw` once we drop Node.js 14
12
- ( ) => execSync ( `${ command } --max-http-header-size=1 --unhandled-rejections=throw` ) ,
11
+ ( ) => execSync ( `${ command } --max-http-header-size=1` ) ,
13
12
/ U N D _ E R R _ H E A D E R S _ O V E R F L O W / ,
14
13
'max-http-header-size=1 should throw'
15
14
)
You can’t perform that action at this time.
0 commit comments