Skip to content

Commit ff8745b

Browse files
committed
Fix unit test
1 parent b09f217 commit ff8745b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/optimizely-sdk/lib/optimizely/index.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4889,9 +4889,9 @@ describe('lib/optimizely', function() {
48894889
});
48904890
var decision = optlyInstance.decide(user, flagKey);
48914891
var expectedDecisionObj = {
4892-
variationKey: expectedVariables,
4892+
variationKey: 'variation_with_traffic',
48934893
enabled: true,
4894-
variables: {},
4894+
variables: expectedVariables,
48954895
ruleKey: 'exp_no_audience',
48964896
flagKey: flagKey,
48974897
userContext: user,

0 commit comments

Comments
 (0)