Propriétés de l'objet de correspondance en plaisantant


describe('location', () => {
  it('should return location object', () => {
    expect( /* Some object value...*/ )
      .toEqual(expect.objectContaining({
        locationId: expect.any(Number),
        geo: expect.any(Array),
        isFetching: expect.any(Boolean)
      }))
  })
})
KostasX