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:
archana
2018-03-13 23:03:06 -05:00
committed by Spencer
parent 263bec4e03
commit 24e5e0f9f9
12 changed files with 9293 additions and 81 deletions

View File

@ -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);