diff --git a/test/fixtures/elasticsearch.js b/test/fixtures/elasticsearch.js index 798f468..1fab5bf 100644 --- a/test/fixtures/elasticsearch.js +++ b/test/fixtures/elasticsearch.js @@ -2,7 +2,8 @@ import { uniqueId } from 'lodash'; function Client() { this.indices = { - create: () => Promise.resolve({ acknowledged: true }) + create: () => Promise.resolve({ acknowledged: true }), + exists: () => Promise.resolve(false), }; this.transport = {};