|
1 | 1 | import { LDContext, LDEvaluationDetail, LDLogger } from '@launchdarkly/js-sdk-common'; |
2 | 2 |
|
3 | | -import { Hook, IdentifyResult } from '../src/api/integrations/Hooks'; |
| 3 | +import { Hook, IdentifySeriesResult } from '../src/api/integrations/Hooks'; |
4 | 4 | import HookRunner from '../src/HookRunner'; |
5 | 5 |
|
6 | 6 | describe('given a hook runner and test hook', () => { |
@@ -135,7 +135,7 @@ describe('given a hook runner and test hook', () => { |
135 | 135 | it('should execute identify hooks', () => { |
136 | 136 | const context: LDContext = { kind: 'user', key: 'user-123' }; |
137 | 137 | const timeout = 10; |
138 | | - const identifyResult: IdentifyResult = { status: 'completed' }; |
| 138 | + const identifyResult: IdentifySeriesResult = { status: 'completed' }; |
139 | 139 |
|
140 | 140 | const identifyCallback = hookRunner.identify(context, timeout); |
141 | 141 | identifyCallback(identifyResult); |
@@ -182,7 +182,7 @@ describe('given a hook runner and test hook', () => { |
182 | 182 | it('should pass identify series data from before to after hooks', () => { |
183 | 183 | const context: LDContext = { kind: 'user', key: 'user-123' }; |
184 | 184 | const timeout = 10; |
185 | | - const identifyResult: IdentifyResult = { status: 'completed' }; |
| 185 | + const identifyResult: IdentifySeriesResult = { status: 'completed' }; |
186 | 186 |
|
187 | 187 | testHook.beforeIdentify = jest |
188 | 188 | .fn() |
|
0 commit comments