Join Slack
Powered by
Hi, wondering if anyone has example of mocking Gro...
# announcements
i
icy-library-22380
07/28/2023, 2:47 PM
Hi, wondering if anyone has example of mocking Growthbook in unit tests using RTL?
icy-library-22380
07/28/2023, 3:38 PM
I was able to find a sample of what I needed here -
https://github.com/growthbook/growthbook/blob/096f8844dfe0b294526ea9e67225050d02136c70/packages/sdk-react/test/main.test.tsx#L190
🙌 1
b
better-magician-65629
07/31/2023, 5:48 PM
glad you found what you were looking for.
72
Views
Open in Slack
Previous
Next