add create_client tests

This commit is contained in:
2016-04-14 17:45:32 -07:00
parent 9c285514d4
commit facf8d89e3
3 changed files with 30 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import { omit } from 'lodash';
export default class Elastique extends events.EventEmitter {
constructor(options = {}) {
if (!options.index) throw new Error('Must specify an index to write to');
super();
this.ready = true;