Skip to content

Commit

Permalink
Update tests (#1341)
Browse files Browse the repository at this point in the history
Co-authored-by: Strift <[email protected]>
  • Loading branch information
Strift and Strift authored Dec 9, 2024
1 parent ba2eca4 commit bc826bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('InstantMeiliSearch overridden parameters', () => {
const firstHits = firstResponse.results[0].hits
expect(firstHits.length).toEqual(1)
expect(firstHits[0]._highlightResult?.overview?.value).toContain(
'<em>While</em> <em>racing</em> <em>to</em> <em>a</em> <em>boxing</em> <em>match</em>'
'<em>While racing to a boxing match</em>'
)

setMeiliSearchParams({
Expand All @@ -48,7 +48,7 @@ describe('InstantMeiliSearch overridden parameters', () => {
const secondHits = secondResponse.results[0].hits
expect(secondHits.length).toEqual(1)
expect(secondHits[0]._highlightResult?.overview?.value).toContain(
'<om>While</om> <om>racing</om> <om>to</om> <om>a</om> <om>boxing</om> <om>match</om>'
'<om>While racing to a boxing match</om>'
)
})
})

0 comments on commit bc826bb

Please sign in to comment.