I am mocking two functions with with jest.fn:
let first = jest.fn(); let second = jest.fn();
How can I assert that first called before second?
first
second
What I am looking for is something like sinon's .calledBefore assertion.
.calledBefore
Aucun commentaire:
Enregistrer un commentaire