From 9b02aa82feb5bdc6e04e29bee492f58c273bf556 Mon Sep 17 00:00:00 2001 From: Mikolaj Date: Sun, 5 Oct 2025 12:57:18 +0200 Subject: [PATCH] fix typo index.dom.test.ts --- src/useIntersectionObserver/index.dom.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useIntersectionObserver/index.dom.test.ts b/src/useIntersectionObserver/index.dom.test.ts index 4916094e..373a3fd4 100644 --- a/src/useIntersectionObserver/index.dom.test.ts +++ b/src/useIntersectionObserver/index.dom.test.ts @@ -105,7 +105,7 @@ describe('useIntersectionObserver', () => { }); expect(hook1.result.current).toBe(entry1); - expect(hook1.result.current).toBe(entry1); + expect(hook2.result.current).toBe(entry1); }); it('should disconnect observer if last hook unmounted', () => {