Replace promise chains with async/await
Clean code by putting mock promises in the beforeEach and using async await syntax.
Showing
Please register or sign in to comment
Clean code by putting mock promises in the beforeEach and using async await syntax.