You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The flags will never be mocked when using withLDConsumer for a class component. It will only be mocked for the hook useFlags.
Is your feature request related to a problem? Please describe.
The flags will never be mocked when using withLDConsumer for a class component. It will only be mocked for the hook useFlags.
jest-launchdarkly-mock/src/index.ts
Line 55 in e509cc7
vs
jest-launchdarkly-mock/src/index.ts
Lines 58 to 72 in e509cc7
Describe the solution you'd like
The withLDConsumer should be passing the mocked flags object as a prop, to the rendered component.
The text was updated successfully, but these errors were encountered: