Skip to content

Commit 4eca643

Browse files
committed
update vitest setup example to use vi, not jest
1 parent 8af613b commit 4eca643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ import {
291291
} from 'react-intersection-observer/test-utils';
292292

293293
beforeEach(() => {
294-
setupIntersectionMocking(jest.fn);
294+
setupIntersectionMocking(vi.fn);
295295
});
296296

297297
afterEach(() => {

0 commit comments

Comments
 (0)