-
Notifications
You must be signed in to change notification settings - Fork 19
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
Mock with useCamelCaseFlagKeys = false #6
Comments
tboulis
added a commit
to tboulis/jest-launchdarkly-mock
that referenced
this issue
Jun 9, 2021
yusinto
added a commit
that referenced
this issue
Feb 3, 2022
[issue-#6] Include flag as is (no case formatting)
Hi @tboulis we have an upcoming release to support snake case so it's coming. I'll update this issue when the release is published. Thank you for your patience. |
This is now fixed in v1.0.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've noticed in your code that you automatically convert the flags to kebab case and camelcase:
We use flags with snake case. Is it possible to either configure this by passing a config object to
mockFlags
or by mocking the Provider that is returned fromasyncWithLDProvider
?The text was updated successfully, but these errors were encountered: