mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix test for search field
This commit is contained in:
parent
83dbb54896
commit
c5c59c07c0
1 changed files with 2 additions and 1 deletions
|
|
@ -155,7 +155,8 @@ describe('query with in param set to invalid value', () => {
|
|||
describe('query with author set', () => {
|
||||
it('adds author to the match filters', () => {
|
||||
const result = parseSearchQuery('author:"Omnivore Blog"')
|
||||
expect(result.matchFilters).to.contain({ field: 'author', value:'omnivore blog' })
|
||||
expect(result.matchFilters[0].field).to.equal('author')
|
||||
expect(result.matchFilters[0].value).to.equal('omnivore blog' })
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue