-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sameeran/ff 1130 sdk assigns subjects to a holdout js common (#27)
* Add holdout test and update internal get assignment * Add holdoutKey and holdoutVariation to the output * Update test to check that get assignment returns control variation and logs status_quo if subject is in holdout * Test that get assignment returns the shipped variation and logs all_shipped_variants if subject is in holdout * Make holdout field nullable * Make toBeNull consistent * Restructure holdouts in mock config for test * Update get assignment code to match new format * Remove console log * Change subject shard range to 10000 in tests * Rename HoldoutVariationType to NullableHoldoutVariationType * Update makeful to include holdout test data * Try removing dot * Fix spelling of directory * Bump axios version and use nullish coalesce * Bump version number of sdk
- Loading branch information
Showing
9 changed files
with
352 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.