Easily unit test LaunchDarkly feature flagged components with jest
APACHE-2.0 License
Bot releases are visible (Hide)
Published by LaunchDarklyReleaseBot almost 2 years ago
Published by LaunchDarklyReleaseBot almost 2 years ago
Published by LaunchDarklyReleaseBot almost 2 years ago
useLDClientError
mock function has been added. Thank you @manelmadeira.Published by LaunchDarklyReleaseBot almost 2 years ago
The latest version of jest-launchdarkly-mock supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." For more information please read the JavaScript SDK's latest release notes.
For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide.
getContext
mock function has been added.getUser
mock function has been removed. Please use getContext
instead.alias
mock function has been removed.Published by LaunchDarklyReleaseBot over 2 years ago
Published by LaunchDarklyReleaseBot over 2 years ago
Published by LaunchDarklyReleaseBot over 2 years ago
withLDConsumer
to return children instead of nullPublished by LaunchDarklyReleaseBot over 2 years ago
Published by LaunchDarklyReleaseBot over 2 years ago
Published by yusinto over 2 years ago
Published by bwoskow-ld over 3 years ago
Added support to mock withLDProvider
Published by yusinto about 4 years ago
This is the first initial release of jest-launchdarkly-mock.