can someone explain to me why the two following lines of code don't return the same result?
expect(scenar.hasOwnProperty('conditions)).to.true;
expect(scenar).to.have.key('conditions);
while using chai@4.2.0, the second line raised an error and not the first one.
Aucun commentaire:
Enregistrer un commentaire