Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Apr 13, 2021
1 parent 8be4772 commit f455c7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/normalize-arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions test/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit f455c7c

Please sign in to comment.