Closed hell03610 closed 7 years ago
I would like to silence the warnings the library throw on some tests. So Ember.warn should be used instead of Ember.logger.warn. That way the warnings can be silenced in tests by a configuration like this:
Ember.Debug.registerWarnHandler((message, options, next) => { let ignoredWarnings=[ 'ember-intl-no-locale-set', 'ember-intl-missing-translation']; if(ignoredWarnings.includes(options.id)) { return; } return next(message, options); });
Thanks! The test failures don't look to be related.
Versioned as 2.4.0
I would like to silence the warnings the library throw on some tests. So Ember.warn should be used instead of Ember.logger.warn. That way the warnings can be silenced in tests by a configuration like this: