remove unused var in test

This commit is contained in:
2016-06-27 14:45:31 -07:00
parent d73155d538
commit a5f1d77f23

View File

@@ -69,12 +69,11 @@ describe('Create Index', function () {
describe('Does exist', function () { describe('Does exist', function () {
let client; let client;
let existsStub;
let createSpy; let createSpy;
beforeEach(function () { beforeEach(function () {
client = new elasticsearchMock.Client(); client = new elasticsearchMock.Client();
existsStub = sinon.stub(client.indices, 'exists', () => Promise.resolve(true)); sinon.stub(client.indices, 'exists', () => Promise.resolve(true));
createSpy = sinon.spy(client.indices, 'create'); createSpy = sinon.spy(client.indices, 'create');
}); });