mirror of https://github.com/pelias/api.git
Browse Source
test/unit/query/search.js -Rather than maintaining a "singleton" expected query object, which poses problems for tests that want to slightly modify it (for instance, by conditionally adding a constraint to `filter.bool.must`), make a function that returns it on demand, thereby creating a new one each time.search-suggest-categories
Severyn Kozak
10 years ago
1 changed files with 37 additions and 36 deletions
Loading…
Reference in new issue