Skip to content

Add example unit tests for the JavaScript SDK #29

Description

@tinahollygb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions