Skip to content

Commit 81e0ffd

Browse files
committed
up
1 parent 3c2d2be commit 81e0ffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/optimizely/index.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ describe('lib/optimizely', function() {
44074407
assert.deepEqual(user2.getUserId(), userId2);
44084408
});
44094409

4410-
it('should call the error handler for invalid user ID and return null', function() {
4410+
it('should call the error handler for invalid user ID and return throw', function() {
44114411
const { optlyInstance, errorNotifier, createdLogger } = getOptlyInstance({
44124412
datafileObj: testData.getTestDecideProjectConfig(),
44134413
});
@@ -4420,7 +4420,7 @@ describe('lib/optimizely', function() {
44204420
// assert.strictEqual(logMessage, sprintf(INVALID_INPUT_FORMAT, 'OPTIMIZELY', 'user_id'));
44214421
});
44224422

4423-
it('should call the error handler for invalid attributes and return null', function() {
4423+
it('should call the error handler for invalid attributes and throw', function() {
44244424
const { optlyInstance, errorNotifier, createdLogger } = getOptlyInstance({
44254425
datafileObj: testData.getTestDecideProjectConfig(),
44264426
});

0 commit comments

Comments
 (0)