Skip to content

Commit

Permalink
Test polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Jan 17, 2025
1 parent 4eb5613 commit ce98bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/consumer/node_redis.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ tape('Node.js Redis', function (t) {
// this should be deduped
assert.equal(await client.getTreatment('UT_Segment_member', 'always-on'), 'on', 'Evaluations using Redis storage should be correct.');

// Below splits were added manually to the redis_mock.json file.
// Below feature flags were added manually to the redis_mock.json file.
// They are all_keys (always evaluate to on) which depend from always-on split. the _on/off is what treatment they are expecting there.
assert.equal(await client.getTreatment('UT_Segment_member', 'hierarchical_splits_testing_on'), 'on', 'Evaluations using Redis storage should be correct.');
// this should be deduped
Expand Down Expand Up @@ -384,7 +384,7 @@ tape('Node.js Redis', function (t) {

assert.equal(await client.getTreatment('UT_Segment_member', 'always-on'), 'on', 'Evaluations using Redis storage should be correct.');

// Below splits were added manually to the redis_mock.json file.
// Below feature flags were added manually to the redis_mock.json file.
// They are all_keys (always evaluate to on) which depend from always-on split. the _on/off is what treatment they are expecting there.
assert.equal(await client.getTreatment('UT_Segment_member', 'hierarchical_splits_testing_on'), 'on', 'Evaluations using Redis storage should be correct.');
assert.equal(await client.getTreatment('UT_Segment_member', 'hierarchical_splits_testing_off'), 'off', 'Evaluations using Redis storage should be correct.');
Expand Down

0 comments on commit ce98bb7

Please sign in to comment.