We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ab745d commit c89385dCopy full SHA for c89385d
1 file changed
src/test-utils.ts
@@ -8,7 +8,7 @@ type Item = {
8
9
const observers = new Map<IntersectionObserver, Item>();
10
11
-beforeAll(() => {
+beforeEach(() => {
12
/**
13
* Create a custom IntersectionObserver mock, allowing us to intercept the observe and unobserve calls.
14
* We keep track of the elements being observed, so when `mockAllIsIntersecting` is triggered it will
0 commit comments