Closed SHND closed 2 years ago
We have an upcoming release that includes this fix. I'll update this issue when that's done. Thank you.
From the PR above, it seems that it is not the correct fix. I put a comment on the PR. I think AsyncWithLDProvide
mock should return promise.
Hey, I still have this issue. I think that even tho this was merged, a new version wasn't released. When is the next release due?
I'm trying to mock the LaunchDarkly React SDK using this package. I'm using
AsyncWithLDPRovider
, but when I'm running my jest with react-library-testing I'm getting:I believe this is fixed in https://github.com/launchdarkly-labs/jest-launchdarkly-mock/pull/15, but still don't see this in the latest npm package.