remove unused var in test
This commit is contained in:
@@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user