Test "near" queries executed in memory
Rework setup of the Operation Hooks test suite for memory connector so that the "unoptimized" variant disables not only atomic CRUD operations, but also geo queries. This way we can test both "near" querying implementations: - When the connectors supports "near" queries natively. - When "near" queries are executed at LoopBack side in-memory.
This commit is contained in:
parent
853a41641b
commit
caf9d09274
|
@ -917,6 +917,9 @@ describe('Unoptimized connector', function() {
|
|||
ds.connector.findOrCreate = false;
|
||||
ds.connector.upsertWithWhere = false;
|
||||
|
||||
// disable native location queries
|
||||
ds.connector.buildNearFilter = false;
|
||||
|
||||
require('./persistence-hooks.suite')(ds, should, {
|
||||
replaceOrCreateReportsNewInstance: true,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue