Skip to content
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

resetStorages() on test reseting development Storage! #324

Open
kikollovet opened this issue Nov 24, 2020 · 1 comment
Open

resetStorages() on test reseting development Storage! #324

kikollovet opened this issue Nov 24, 2020 · 1 comment

Comments

@kikollovet
Copy link

kikollovet commented Nov 24, 2020

Hello. I´m using ember-local-storage for tests. On the after hook I put resetStorages(). The issue that I´m having is that the development store is reseted too. Is there a way to only reset the store used on test?

@kikollovet
Copy link
Author

I friend figure out a way. I use session adapter for tests and just clear sessionStorage! I also added ember-local-storage to the envirornment test, so it uses different storage for tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants