pablocattaneo
2/13/2020 - 12:44 PM

How do you tests the value of an object?

Using toEqual method, for example:
expect(data).toEqual({one: 1, two: 2});