Skip to content

Latest commit

 

History

History
 
 

tests

How to write Unit tests in Ember

TODO

How Hospital Run implements unit tests

TODO

How to run unit tests

Troubleshooting

  • 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);
});