Skip to content

Commit b4e5b0f

Browse files
Update libs/hooks/debounce/src/lib/debounce-hook.spec.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Todd Baert <[email protected]>
1 parent 56a3285 commit b4e5b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/hooks/debounce/src/lib/debounce-hook.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe('DebounceHook', () => {
122122
for (let i = 0; i < 3; i++) {
123123
hook.before({ flagKey, context } as HookContext, hints);
124124
hook.after({ flagKey, context } as HookContext, evaluationDetails, hints);
125-
hook.error({ flagKey, context } as HookContext, hints);
125+
hook.error({ flagKey, context } as HookContext, new Error('test error'), hints);
126126
hook.finally({ flagKey, context } as HookContext, evaluationDetails, hints);
127127
}
128128

0 commit comments

Comments
 (0)