15 days ago
react-intersection-observer
Fixes and improvements to react-intersection-observer/test-utils
- always recreate the IntersectionObserver mock (c720914)
- improve test lib detection (1858e43)
- use
isMockFunction
to detect if the IntersectionObserver is being mocked (189133f)
22 days ago
react-intersection-observer
- restore beforeEach in test utils (788dd47)
2024-12-31 05:39:25
react-intersection-observer
- ensure browser environment in test-utils (6e459f2)
2024-12-14 21:41:12
react-intersection-observer
- support React 19 (8bafe25)
- Drop support for React 15/16. The types are no longer compatible with later version of React, since they have dropped the deprecated types.
2024-09-05 04:24:08
react-intersection-observer
- align IntersectionObserver options with DOM API (abb4ee8)
2024-07-11 18:02:30
react-intersection-observer
- fix package exports and simplify build (#695) (c9cef8f) - All thanks go to @RobinTail
2024-07-11 16:12:36
react-intersection-observer
- upgrade to Vitest 2 (#690) (054adf4)
- Upgrade to Vitest 2
- Add basic browser mode test, that runs with an unmocked IntersectionObserver
- Types cleanup in
test-utils
, getting rid of @types/jest
(replaced with vitest)
- Move test mocking setup from beforeEach to beforeAll
2024-07-11 15:12:39
react-intersection-observer
- remove script to publish dist dir (0980efa)
2024-06-06 03:35:51
react-intersection-observer
- test-utils - execute mockClear method only when it exists (712ae37)
2024-05-04 05:11:32
react-intersection-observer
- support old act from react-dom (0e95b5d)