jest-launchdarkly-mock
Advanced tools
Changelog
[2.1.0] - 2023-06-06
Changelog
[2.0.3] - 2023-01-13
Changelog
[2.0.2] - 2023-01-13
Changelog
[2.0.1] - 2022-12-13
useLDClientError
mock function has been added. Thank you @manelmadeira.Changelog
[2.0.0] - 2022-12-07
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.Changelog
[1.0.6] - 2022-07-08
Changelog
[1.0.5] - 2022-06-14
Changelog
[1.0.3] - 2022-05-27
withLDConsumer
to return children instead of nullChangelog
[1.0.2] - 2022-05-23
Changelog
[1.0.0] - 2022-03-23