I was wondering if it's possible to execute/run some code from the controller only when it's an unit test.
Something like this :
if(**jasmine unit test detected**){
console.log("this message only visible in unit test")
}
Any suggestions ? Thanks !
Aucun commentaire:
Enregistrer un commentaire