Skip to content

Commit

Permalink
test(useInfiniteScroll): 쓸모없는 프로퍼티 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
jyh071116 committed Jan 11, 2024
1 parent 7fb7bdc commit 07d7a7a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hooks/useInfiniteScroll.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ describe("useInfiniteScroll", () => {
renderHook(() => useInfiniteScroll(fetchNextPage));

Object.defineProperty(window, "scrollY", {
writable: true,
configurable: true,
value: 0,
});
Object.defineProperty(document.documentElement, "offsetHeight", {
writable: true,
configurable: true,
value: 3000,
});

Expand Down

0 comments on commit 07d7a7a

Please sign in to comment.