diff --git a/test/normalize-arguments.ts b/test/normalize-arguments.ts index 7c0985dd1..5bd3d12e9 100644 --- a/test/normalize-arguments.ts +++ b/test/normalize-arguments.ts @@ -134,7 +134,7 @@ test('maxRetryAfter is calculated seperately from request timeout', t => { t.is(options.retry.maxRetryAfter, 300); }); -test('extending responseType', async t => { +test('extending responseType', t => { const instance1 = got.extend({ prefixUrl: 'https://localhost', responseType: 'json' diff --git a/test/stream.ts b/test/stream.ts index 7b31715b6..58a785506 100644 --- a/test/stream.ts +++ b/test/stream.ts @@ -461,6 +461,7 @@ test('accepts readable-stream as body', withServer, async (t, server, got) => { const body = new Readable2({ read() { this.push('ok'); + // eslint-disable-next-line unicorn/no-array-push-push this.push(null); } });