In many tests (eg test_auth_api.js) we have:
- string concatenation
- callback-based tests (with mocha's
done)
- asynchronous code using promises or (worse !) callbacks
We can make them more readable using (respectively) template strings, promises and generators (using co-mocha).