Skip to content

Commit

Permalink
Merge pull request #39 from absmartly/11-06-Fix_failing_console.error…
Browse files Browse the repository at this point in the history
…_test
  • Loading branch information
calthejuggler authored Nov 6, 2023
2 parents c8e42be + edf7446 commit d97a503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/context.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3626,7 +3626,7 @@ describe("Context", () => {
expect(context.customFieldValue("exp_test_custom_fields", "invalid_type_field")).toEqual(null);
expect(errorSpy).toHaveBeenCalledTimes(1);
expect(errorSpy).toHaveBeenCalledWith(
"Unknown custom field type 'invalid' for experiment 'exp_test_custom_fields' and key 'invalid_type_field'"
"Unknown custom field type 'invalid' for experiment 'exp_test_custom_fields' and key 'invalid_type_field' - you may need to upgrade to the latest SDK version"
);
});
});
Expand Down

0 comments on commit d97a503

Please sign in to comment.