expect(jest.fn()).toHaveBeenCalledWith(expected) is not working with react native 57. Is anyone facing the same issues?
The below test function is failing
[code]
it('message', () => {
const tt = [
{data}
];
expect(myfunc).toHaveBeenCalledWith(tt);
});
[/code]
Aucun commentaire:
Enregistrer un commentaire