loopback-connector-elastic-search
loopback-connector-elastic-search copied to clipboard
Fix tests to also run when `refresh` is not enabled
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.