Propriedades do objeto Match Jest Match


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