Skip to content

Commit d8b4f19

Browse files
committed
fix
1 parent 6b4b722 commit d8b4f19

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

lib/project_config/project_config.tests.js

-15
Original file line numberDiff line numberDiff line change
@@ -402,21 +402,6 @@ describe('lib/core/project_config', function() {
402402
);
403403
});
404404

405-
it('should retrieve traffic allocation given valid experiment key in getTrafficAllocation', function() {
406-
assert.deepEqual(
407-
projectConfig.getTrafficAllocation(configObj, testData.experiments[0].id),
408-
testData.experiments[0].trafficAllocation
409-
);
410-
});
411-
412-
it('should throw error for invalid experient key in getTrafficAllocation', function() {
413-
const ex = assert.throws(function() {
414-
projectConfig.getTrafficAllocation(configObj, 'invalidExperimentId');
415-
});
416-
assert.equal(ex.baseMessage, INVALID_EXPERIMENT_ID);
417-
assert.deepEqual(ex.params, ['invalidExperimentId']);
418-
});
419-
420405
describe('#getVariationIdFromExperimentAndVariationKey', function() {
421406
it('should return the variation id for the given experiment key and variation key', function() {
422407
assert.strictEqual(

0 commit comments

Comments
 (0)