Skip to content

fix: don't fallback to default value in test harness#72

Merged
typotter merged 6 commits intomainfrom
tp/latest
Jan 28, 2025
Merged

fix: don't fallback to default value in test harness#72
typotter merged 6 commits intomainfrom
tp/latest

Conversation

@typotter
Copy link
Collaborator

Motivation and Context

The react-native UFC tests are failing when an expected assignment is the empty string. Upon investigation, this is failing because of a well intentioned check of the assignment result. This check fails when the assignment is an empty string (and likely when the assignment is intentionally false but we haven't test cases to cover this).
Ultimately, the bug lies in the testing harness, not the core code, as the node server and js-common SDKs do not fail in this manner.

Description

  • remove the truthy check; don't fallback on default value as the EppoClient handles that.

@typotter typotter merged commit 232d895 into main Jan 28, 2025
3 checks passed
@typotter typotter deleted the tp/latest branch January 28, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants