loopback-connector-elastic-search icon indicating copy to clipboard operation
loopback-connector-elastic-search copied to clipboard

Fix tests to also run when `refresh` is not enabled

Open pulkitsinghal opened this issue 7 years ago • 1 comments

02.basic-querying.test.js tests should run with the usecase where refresh is not enabled.

That is not what happens right now! Because the new default is to have refresh enabled by default in esConnector, until and unless we specify settings.refreshOn=[];

So we need to restructure the tests so that 02.basic-querying.test.js will work with a situation where where refresh isn't enabled for anything at all.

pulkitsinghal avatar Apr 23 '17 02:04 pulkitsinghal