Fixed host header in tests

This commit is contained in:
Gregory Schier
2017-01-11 13:21:30 -08:00
parent d30fb88d8d
commit aedaa2c8a8
2 changed files with 1 additions and 3 deletions

View File

@@ -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'

View File

@@ -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",