TODO
TODO
- Run the ember test server:
ember test --server
- This will monitor for changes to the source or the test and run them automatically.
- Hint: Add
&nocontainer=hidden
to testem results viewer to get rid of nasty white div: http://localhost:7357/8986/tests/index.html?module=NavMenuComponent&nojshint=true&nocontainer=hidden
- in order to troubleshoot some strange failures use recommendations from the Ember debugging page. Particularly, for promises add the following in the
test-helper.js
import { assert } from '@ember/debug';
import RSVP from 'rsvp';
RSVP.on('error', function(error) {
assert(error, false);
});