Skip to content

Commit 6873375

Browse files
[FSSDK-10882] improvements
1 parent c4c98a1 commit 6873375

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/index.node.tests.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import * as loggerPlugin from './plugins/logger';
2424
import optimizelyFactory from './index.node';
2525
import configValidator from './utils/config_validator';
2626
import { getMockProjectConfigManager } from './tests/mock/mock_project_config_manager';
27-
import { createProjectConfig } from './project_config/project_config';
2827

2928
describe('optimizelyFactory', function() {
3029
describe('APIs', function() {
@@ -88,7 +87,6 @@ describe('optimizelyFactory', function() {
8887
assert.instanceOf(optlyInstance, Optimizely);
8988
assert.equal(optlyInstance.clientVersion, '5.3.4');
9089
});
91-
9290
// TODO: user will create and inject an event processor
9391
// these tests will be refactored accordingly
9492
// describe('event processor configuration', function() {

lib/tests/mock/mock_project_config_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const getMockProjectConfigManager = (opt: MockOpt = {}): ProjectConfigMan
2929
isSsr: false,
3030
config: opt.initConfig,
3131
start: () => {},
32-
setSsr: function(isSsr?:boolean) {
32+
setSsr: function(isSsr:boolean) {
3333
this.isSsr = isSsr;
3434
},
3535
onRunning: () => opt.onRunning || Promise.resolve(),

0 commit comments

Comments
 (0)