Skip to content

Commit 7529686

Browse files
committed
cleanup
1 parent 15a484d commit 7529686

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/core/decision_service/cmab/cmab_service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import { LoggerFacade } from "../../../logging/logger";
18-
// import OptimizelyUserContext from "../../../optimizely_user_context"
1918
import { IOptimizelyUserContext } from "../../../optimizely_user_context";
2019
import { ProjectConfig } from "../../../project_config/project_config"
2120
import { OptimizelyDecideOption, UserAttributes } from "../../../shared_types"

lib/optimizely/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe('Optimizely', () => {
118118
expect(decision).toEqual(newErrorDecision('flag_1', user, ['test reason 1', 'test reason 2']));
119119
});
120120

121-
it.only('should include cmab uuid in dispatched event if decisionService returns a cmab uuid', async () => {
121+
it('should include cmab uuid in dispatched event if decisionService returns a cmab uuid', async () => {
122122
const projectConfig = createProjectConfig(getDecisionTestDatafile());
123123

124124
const projectConfigManager = getMockProjectConfigManager({

lib/utils/promise/operation_value.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const isPromise = (val: any): boolean => {
88
}
99

1010
/**
11-
* A class to wraps a value that can be either a synchronous value or a promise and provides
12-
* a promise like API. This class is used to handle both synchronous and asynchronous values
11+
* A class that wraps a value that can be either a synchronous value or a promise and provides
12+
* a promise like interface. This class is used to handle both synchronous and asynchronous values
1313
* in a uniform way.
1414
*/
1515
export class Value<OP extends OpType, V> {

0 commit comments

Comments
 (0)