mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
The way the tests are written now, the habitrpg module definition in static.js was clobbering the one in app.js. In other words, most of the tests weren't testing what they thought they were testing. |
||
|---|---|---|
| .. | ||
| casper | ||
| e2e | ||
| includes | ||
| spec | ||
| test2 | ||
| api.mocha.coffee | ||
| mocha.opts | ||
| README.md | ||
| run_tests.sh | ||
We need to clean up this directory. The real tests are in spec/ mock/ e2e/ and api.mocha.coffee. We want to:
- Move all old / deprecated tests from casper, test2, etc into spec, mock, e2e
- Move api.mocha.coffee to vanilla javascript
- Remove dependency of api.mocha.coffee on Derby, port it to Mongoose
- Add better test-coverage