Skip to content

Commit dcbea9c

Browse files
authored
Update retry.ts
1 parent c8902ba commit dcbea9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/retry.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ test('custom error codes', async t => {
171171
request: () => {
172172
const emitter = new EventEmitter() as http.ClientRequest;
173173
emitter.abort = () => {};
174+
// @ts-expect-error Imitating a stream
174175
emitter.end = () => {};
176+
// @ts-expect-error Imitating a stream
175177
emitter.destroy = () => {};
176178
// @ts-expect-error Imitating a stream
177179
emitter.writable = true;

0 commit comments

Comments
 (0)