Skip to content

Commit 07d7a7a

Browse files
committed
test(useInfiniteScroll): 쓸모없는 프로퍼티 삭제
1 parent 7fb7bdc commit 07d7a7a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/hooks/useInfiniteScroll.spec.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ describe("useInfiniteScroll", () => {
77
renderHook(() => useInfiniteScroll(fetchNextPage));
88

99
Object.defineProperty(window, "scrollY", {
10-
writable: true,
11-
configurable: true,
1210
value: 0,
1311
});
1412
Object.defineProperty(document.documentElement, "offsetHeight", {
15-
writable: true,
16-
configurable: true,
1713
value: 3000,
1814
});
1915

0 commit comments

Comments
 (0)