Skip to content

Commit a81c8f2

Browse files
author
Mike Ng
committed
fix breaking test and remove unused lib.
1 parent 1c9af16 commit a81c8f2

File tree

3 files changed

+5
-70
lines changed

3 files changed

+5
-70
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ describe('lib/optimizely', function() {
29112911

29122912
describe('#getEnabledFeatures', function() {
29132913
beforeEach(function() {
2914-
sandbox.stub(optlyInstance, 'isFeatureEnabled', function(featureKey) {
2914+
sandbox.stub(optlyInstance, 'isFeatureEnabled').callsFake(function(featureKey) {
29152915
return featureKey === 'test_feature' || featureKey === 'test_feature_for_experiment';
29162916
});
29172917
});

packages/optimizely-sdk/package-lock.json

Lines changed: 4 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/optimizely-sdk/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"karma-mocha": "^1.3.0",
5050
"karma-sinon": "^1.0.5",
5151
"karma-webpack": "^2.0.3",
52-
"mathjs": "^3.3.0",
5352
"mocha": "^5.2.0",
5453
"mocha-lcov-reporter": "^1.3.0",
5554
"nock": "^10.0.1",

0 commit comments

Comments
 (0)