mardi 28 août 2018

Is await only being used for promise? improving e2e test -

I am working on e2e tests for a project nowadays and I want to use its best features. This is my question. Should I use await in the places using a promise? What if my expect doesn't resolve any promise, and it's just getting object or etc. Should I use it again?

And If you give me any recommandation about how to improve e2e test, it would be really great! Is there any feature like async await? Thanks!

Aucun commentaire:

Enregistrer un commentaire