mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-20 14:17:29 -04:00
Fixed host header in tests
This commit is contained in:
@@ -27,7 +27,6 @@ describe('buildRequestConfig()', () => {
|
||||
forever: true,
|
||||
gzip: true,
|
||||
headers: {
|
||||
'host': '',
|
||||
'Accept': '*/*',
|
||||
'User-Agent': `insomnia/${getAppVersion()}`
|
||||
},
|
||||
@@ -84,7 +83,6 @@ describe('buildRequestConfig()', () => {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Basic dXNlcjpwYXNz',
|
||||
'host': 'foo.com:3332',
|
||||
'Accept': '*/*',
|
||||
'User-Agent': `insomnia/${getAppVersion()}`,
|
||||
'x-hello': 'world'
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
"concurrently": "^2.0.0",
|
||||
"cross-env": "^2.0.0",
|
||||
"css-loader": "^0.23.1",
|
||||
"electron": "^1.4.13",
|
||||
"electron": "^1.4.14",
|
||||
"electron-builder": "^10.17.3",
|
||||
"express": "^4.14.0",
|
||||
"file-loader": "^0.9.0",
|
||||
|
||||
Reference in New Issue
Block a user