removed the previous browser_yaml_suite, and fixed the 'returns a client' tests
This commit is contained in:
3
test/unit/browser_builds/angular.js
vendored
3
test/unit/browser_builds/angular.js
vendored
@ -46,7 +46,8 @@ describe('Angular esFactory', function () {
|
||||
return function () {
|
||||
try {
|
||||
var client = esFactory({ hosts: null });
|
||||
expect(client).to.have.keys('ping', 'transport', 'indices', 'cluster');
|
||||
expect(client).to.have.keys('transport');
|
||||
expect(client.transport).to.be.a(esFactory.Transport);
|
||||
client.close();
|
||||
} catch (e) {
|
||||
return done(e);
|
||||
|
||||
Reference in New Issue
Block a user