Channels
contributing
sdk-kotlin
sdk-react
sdk-javascript
sdk-java
request-features
sdk-php
sdk-python
sdk-golang
sdk-swift
sdk-c-sharp
random
sdk-ruby
ask-questions
give-feedback
announcements
sdk-flutter
Powered by
#announcements
Title
i
icy-library-22380
07/28/2023, 2:47 PM
Hi, wondering if anyone has example of mocking Growthbook in unit tests using RTL?
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.
Post