Skip to content

Commit 93c2e40

Browse files
committed
Remove needless call
1 parent e11a35d commit 93c2e40

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/fetch/client-fetch.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ test('custom agent', (t, done) => {
551551
ok(true)
552552
return oldDispatch.call(this, options, handler)
553553
}
554-
t.after(closeServerAsPromise(server))
555554
const body = await fetch(`http://localhost:${server.address().port}`, {
556555
dispatcher
557556
})
@@ -579,7 +578,6 @@ test('custom agent node fetch', (t, done) => {
579578
ok(true)
580579
return oldDispatch.call(this, options, handler)
581580
}
582-
t.after(closeServerAsPromise(server))
583581
const body = await nodeFetch.fetch(`http://localhost:${server.address().port}`, {
584582
dispatcher
585583
})

0 commit comments

Comments
 (0)