mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Don't warn intentional errors in tests
It's too noisy
This commit is contained in:
@@ -33,7 +33,7 @@ export default Controller.extend({
|
||||
run.next(() => {
|
||||
throw this.get('error');
|
||||
});
|
||||
} else {
|
||||
} else if (!Ember.testing) {
|
||||
run.next(() => {
|
||||
// eslint-disable-next-line
|
||||
console.warn('UNRECOVERABLE ERROR:', this.get('error'));
|
||||
|
||||
Reference in New Issue
Block a user