You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
So I am using your plugin and when I am writing a unit test for my controller, its erroring in the test because its expecting the logging service. Here is what I have in my environment.js file
Attempting to inject an unknown injection: 'service:logger'
@jrock2004 if your controller is injecting the service, you'll need needs: ['service:logger'] in the unit test. Also, no way to turn it off in the test unless you're going to have some sort of mock helper.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So I am using your plugin and when I am writing a unit test for my controller, its erroring in the test because its expecting the logging service. Here is what I have in my environment.js file
Attempting to inject an unknown injection: 'service:logger'
Thoughts?
The text was updated successfully, but these errors were encountered: