growthbook / growthbook/examples
Add example unit tests for the JavaScript SDK
Open
- Dominant language
- TypeScript
- Stars
- 23
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Add example unit tests for how to test with the JavaScript SDK.
Possible ideas:
- have the user implement a separate feature repository to fetch features (e.g. `featureRepository.getFeatures()` and set those in the SDK with `setFeatures()` or passed into the Context constructor. this allows the user to create a mock of the feature repository's `getFeatures()` method.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.