@edd wrote:
I’ve just done a big jump in ember version (from 2.10ish to 2.17) and trying to get tests to pass again. I’m getting errors like
Attempting to inject an unknown injection: 'service:i18n'
when something like this had previously worked:
let subject = this.subject({ i18n: { t() { return 'something' } } });
I’ve seen posts to similar effect and know that I can resolve by specifying
needs: ['service:i18n']
but I don’t want to change all my existing tests. Is there some quicker, more global, solution?
Posts: 1
Participants: 1