-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
How to disable usageStatistics in test environment? #259
Comments
@YashkaSurin |
@YashkaSurin Why don't you mock localStorage? jestjs/jest#2098 |
@dongsik-yoo yes, that's what I came to in the end. I just thought there could be some way to do it using some component configuration that I had missed. Thanks. |
@YashkaSurin Is it in progress? Thanks in advance. |
@dongsik-yoo mocking localStorage works for me. |
@YashkaSurin Good! It's helpful when using jest. |
Version
1.9.1
Development Environment
nodeJs, jest
Current Behavior
I'm using jest for testing. It breaks on importing tui calendar when trying to send statistics:
How can I prevent that? Setting global.tui.usageStatistics to false does not help.
The text was updated successfully, but these errors were encountered: