mozilla-sensorweb / sensorweb-server

Mozilla Public License 2.0
3 stars 6 forks source link

Tests simplification: use promises, generators and template strings #59

Open julienw opened 7 years ago

julienw commented 7 years ago

In many tests (eg test_auth_api.js) we have:

We can make them more readable using (respectively) template strings, promises and generators (using co-mocha).