Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"simple-git": "^1.110.0",
"simple-statistics": "^7.0.2",
"split2": "^3.1.1",
"standard": "^12.0.1",
"standard": "^13.0.2",
"stoppable": "^1.1.0",
"tap": "^13.0.1",
"tap-mocha-reporter": "^4.0.1",
Expand Down
2 changes: 2 additions & 0 deletions test/unit/errors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

'use strict'

/* eslint no-prototype-builtins: 0 */

const { test } = require('tap')
const { errors } = require('../../index')

Expand Down
2 changes: 1 addition & 1 deletion test/unit/events.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test('Should emit a response event in case of a successful response', t => {
statusCode: 200,
headers: {
'content-type': 'application/json;utf=8',
'connection': 'keep-alive'
connection: 'keep-alive'
},
warnings: null,
meta: {
Expand Down
8 changes: 4 additions & 4 deletions test/utils/MockConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class MockConnection extends Connection {
stream.statusCode = setStatusCode(params.path)
stream.headers = {
'content-type': 'application/json;utf=8',
'date': new Date().toISOString(),
'connection': 'keep-alive',
date: new Date().toISOString(),
connection: 'keep-alive',
'content-length': '17'
}
process.nextTick(() => {
Expand Down Expand Up @@ -96,8 +96,8 @@ class MockConnectionSniff extends Connection {
stream.statusCode = setStatusCode(params.path)
stream.headers = {
'content-type': 'application/json;utf=8',
'date': new Date().toISOString(),
'connection': 'keep-alive',
date: new Date().toISOString(),
connection: 'keep-alive',
'content-length': '205'
}
process.nextTick(() => {
Expand Down