You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.equal(client.getTreatment('any_flag'),'OFF_FALLBACK','The evaluation will return the fallbackTreatment if the client is not whenReady yet');
140
-
t.equal(client.getTreatment('user_account_in_whitelist'),'control','The evaluation will return the fallbackTreatment if the client is not whenReady yet');
128
+
t.equal(client.getTreatment('any_flag'),'OFF_FALLBACK','The evaluation will return the fallbackTreatment if the client is not ready yet');
129
+
t.equal(client.getTreatment('user_account_in_whitelist'),'control','The evaluation will return the fallbackTreatment if the client is not ready yet');
t.deepEqual(client.getTreatmentWithConfig('my_flag'),{treatment: 'ON_FALLBACK',config: '{"flag": true}'},'The evaluation will propagate the config along with the treatment from the fallbackTreatment');
207
196
t.deepEqual(client.getTreatmentWithConfig('non_existent_flag'),{treatment: 'OFF_FALLBACK',config: '{"global": true}'},'The evaluation will propagate the config along with the treatment from the fallbackTreatment');
0 commit comments