-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LocalStorageService does not have a strategy in my test environment? #160
Comments
I'm getting the same error. I try almost everything. without success? Does somebody have a clue about how to solve this?
|
I am getting same error, any update :/ ? |
I have a same problem in 2024, ngx-webstorage 7.0.1 with angular 11, Any solution ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions (please complete the following information):
I have a custom service which uses LocalStorageService from ngx-webstorage, which works fine in the "real world", but when I try to write a test that interacts with my service, my tests blow up with:
It appears in the test world this object is getting newed up without a strategy... what am I supposed to do to get this to "just work?" I tried adding
NgxWebstorageModule.forRoot()
to the imports for my Testbed, but that did not seem to make any difference.The text was updated successfully, but these errors were encountered: