Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
leoromanovsky authored and aarsilv committed Feb 5, 2024
1 parent 0bc1681 commit 91b86f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/eppo-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('EppoClient E2E test', () => {
expect(
client.getParsedJSONAssignment('subject-identifer', flagKey, {}, mockHooks),
).toBeNull();
const assignmentWithReason = client._getStringAssignmentWithReason(
const assignmentWithReason = client.getStringAssignmentWithReason(
'subject-identifer',
flagKey,
{},
Expand Down Expand Up @@ -198,7 +198,7 @@ describe('EppoClient E2E test', () => {
}).toThrow();

expect(() => {
client._getStringAssignmentWithReason('subject-identifer', flagKey, {}, mockHooks);
client.getStringAssignmentWithReason('subject-identifer', flagKey, {}, mockHooks);
}).toThrow();
});
});
Expand Down Expand Up @@ -863,7 +863,7 @@ describe('EppoClient E2E test', () => {
return EppoValue.Numeric(na);
}
case ValueTestType.StringType: {
const assignmentWithReason = globalClient._getStringAssignmentWithReason(
const assignmentWithReason = globalClient.getStringAssignmentWithReason(
subject.subjectKey,
experiment,
subject.subjectAttributes,
Expand Down Expand Up @@ -1077,7 +1077,7 @@ describe(' EppoClient getAssignment From Obfuscated RAC', () => {
return EppoValue.Numeric(na);
}
case ValueTestType.StringType: {
const assignmentWithReason = globalClient._getStringAssignmentWithReason(
const assignmentWithReason = globalClient.getStringAssignmentWithReason(
subject.subjectKey,
experiment,
subject.subjectAttributes,
Expand Down

0 comments on commit 91b86f2

Please sign in to comment.