Skip to content

Commit b033519

Browse files
committed
typo fix
1 parent e67014a commit b033519

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/optimizely/index.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ describe('Optimizely', () => {
8484
vi.spyOn(odpManager, 'setLogger');
8585

8686
const logger = getMockLogger();
87-
const cofigChildLogger = getMockLogger();
87+
const configChildLogger = getMockLogger();
8888
const eventProcessorChildLogger = getMockLogger();
8989
const odpManagerChildLogger = getMockLogger();
90-
vi.spyOn(logger, 'child').mockReturnValueOnce(cofigChildLogger)
90+
vi.spyOn(logger, 'child').mockReturnValueOnce(configChildLogger)
9191
.mockReturnValueOnce(eventProcessorChildLogger)
9292
.mockReturnValueOnce(odpManagerChildLogger);
9393

@@ -102,7 +102,7 @@ describe('Optimizely', () => {
102102
cmabService: {} as any
103103
});
104104

105-
expect(projectConfigManager.setLogger).toHaveBeenCalledWith(cofigChildLogger);
105+
expect(projectConfigManager.setLogger).toHaveBeenCalledWith(configChildLogger);
106106
expect(eventProcessor.setLogger).toHaveBeenCalledWith(eventProcessorChildLogger);
107107
expect(odpManager.setLogger).toHaveBeenCalledWith(odpManagerChildLogger);
108108
});

0 commit comments

Comments
 (0)