add indices.refresh method to mock client

This commit is contained in:
2016-07-19 12:51:34 -07:00
parent 2c025e02c9
commit 67381108d7

View File

@@ -6,6 +6,7 @@ function Client() {
this.indices = { this.indices = {
create: () => Promise.resolve({ acknowledged: true }), create: () => Promise.resolve({ acknowledged: true }),
exists: () => Promise.resolve(false), exists: () => Promise.resolve(false),
refresh: () => Promise.resolve(),
}; };
this.transport = {}; this.transport = {};