In chai you can write the following:
expect(result.applicationDate.getTime()).to.be.approximately(expected.getTime(), 10);
What is the equivalent code in jest for this assertion
Aucun commentaire:
Enregistrer un commentaire