Fix test
This commit is contained in:
@ -258,8 +258,7 @@ describe('pages in elastic', () => {
|
||||
|
||||
it('searches pages', async () => {
|
||||
const searchResults = await searchAsYouType(userId, 'search')
|
||||
expect(searchResults).to.have.lengthOf(1)
|
||||
expect(searchResults[0].title).to.eq('search as you type')
|
||||
expect(searchResults).not.empty
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user