Skip to content

Commit 63bf2d0

Browse files
davidagustinclaude
andcommitted
fix: Remove stale hookResultRef references in ProgressProvider test
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e292cc4 commit 63bf2d0

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

__tests__/components/ProgressProvider.test.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,13 +1038,6 @@ describe('ProgressProvider', () => {
10381038
await waitFor(() => {
10391039
expect(screen.getByTestId('has-functions')).toHaveTextContent('true');
10401040
});
1041-
1042-
// Verify all functions are present and are functions
1043-
expect(hookResultRef.current).not.toBeNull();
1044-
expect(typeof hookResultRef.current?.markSolved).toBe('function');
1045-
expect(typeof hookResultRef.current?.markUnsolved).toBe('function');
1046-
expect(typeof hookResultRef.current?.isSolved).toBe('function');
1047-
expect(typeof hookResultRef.current?.resetProgress).toBe('function');
10481041
});
10491042
});
10501043

0 commit comments

Comments
 (0)