Bump jquery and update some tests (#644)
* Remove jquery from devDependencies, syntax * Add browserify and aliasify * Bump jquery * Bump jquery and make some tests pass
This commit is contained in:
@ -444,7 +444,7 @@ describe('Http Connector', function () {
|
||||
var con = new HttpConnection(new Host());
|
||||
var respBody = 'i should not be encoded';
|
||||
var server = nock('http://localhost:9200')
|
||||
.matchHeader('accept-encoding', function (v) {
|
||||
.matchHeader('Accept-Encoding', function (v) {
|
||||
|
||||
return v === undefined;
|
||||
})
|
||||
@ -463,7 +463,7 @@ describe('Http Connector', function () {
|
||||
var con = new HttpConnection(new Host({ suggestCompression: true }));
|
||||
var respBody = 'i should be encoded';
|
||||
var server = nock('http://localhost:9200')
|
||||
.matchHeader('accept-encoding', 'gzip,deflate')
|
||||
.matchHeader('Accept-Encoding', 'gzip,deflate')
|
||||
.get('/')
|
||||
.once()
|
||||
.reply(200, respBody);
|
||||
|
||||
Reference in New Issue
Block a user