@@ -193,7 +193,7 @@ describe.each([
193193 } )
194194 } )
195195
196- test . skip ( `${ permission } key: ${ method } search with matches parameter and small croplength` , async ( ) => {
196+ test ( `${ permission } key: ${ method } search with matches parameter and small croplength` , async ( ) => {
197197 await client
198198 . index ( index . uid )
199199 . search (
@@ -217,13 +217,13 @@ describe.each([
217217 expect ( response ) . toHaveProperty ( 'query' , 'prince' )
218218 expect ( response . hits . length ) . toEqual ( 1 )
219219 expect ( response . hits [ 0 ] ) . toHaveProperty ( '_matchesInfo' , {
220- comment : [ { start : 2 , length : 6 } ] ,
221- title : [ { start : 0 , length : 6 } ] ,
220+ comment : [ { start : 22 , length : 6 } ] ,
221+ title : [ { start : 9 , length : 6 } ] ,
222222 } )
223223 } )
224224 } )
225225
226- test . skip ( `${ permission } key: ${ method } search with all options but not all fields` , async ( ) => {
226+ test ( `${ permission } key: ${ method } search with all options but not all fields` , async ( ) => {
227227 await client
228228 . index ( index . uid )
229229 . search (
@@ -253,8 +253,6 @@ describe.each([
253253 expect ( response . hits [ 0 ] . _formatted ) . toHaveProperty ( 'id' )
254254 expect ( response . hits [ 0 ] ) . not . toHaveProperty ( 'comment' )
255255 expect ( response . hits [ 0 ] ) . not . toHaveProperty ( 'description' )
256- expect ( response . hits [ 0 ] . _formatted ) . not . toHaveProperty ( 'comment' )
257- expect ( response . hits [ 0 ] . _formatted ) . not . toHaveProperty ( 'description' )
258256 expect ( response . hits . length ) . toEqual ( 1 )
259257 expect ( response . hits [ 0 ] ) . toHaveProperty (
260258 '_formatted' ,
0 commit comments