File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
const { request } = require ( '../..' )
2
2
3
- request ( 'https://nodejs.org' , { maxRedirections : 1 } ) . then (
3
+ request ( 'https://nodejs.org' , { maxRedirections : 0 } ) . then (
4
4
res => res . body . dump ( ) ,
5
5
( ) => { }
6
6
)
Original file line number Diff line number Diff line change 2
2
3
3
const { test } = require ( 'node:test' )
4
4
const { spawn } = require ( 'node:child_process' )
5
- const { tspl } = require ( '@matteo.collina/tspl' )
6
5
const { join } = require ( 'node:path' )
6
+ const { tspl } = require ( '@matteo.collina/tspl' )
7
7
8
8
test ( 'debug#websocket' , async t => {
9
9
const assert = tspl ( t , { plan : 5 } )
@@ -64,7 +64,7 @@ test('debug#fetch', async t => {
64
64
65
65
test ( 'debug#undici' , async t => {
66
66
// Due to Node.js webpage redirect
67
- const assert = tspl ( t , { plan : 10 } )
67
+ const assert = tspl ( t , { plan : 5 } )
68
68
const child = spawn (
69
69
process . execPath ,
70
70
[ join ( __dirname , '../fixtures/undici.js' ) ] ,
You can’t perform that action at this time.
0 commit comments