Skip to content

Commit 7e7e0d0

Browse files
committed
Mark scheduler mocking as TODO
1 parent a06995d commit 7e7e0d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/setup-env.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ afterEach(() => {
1919
consoleErrorMock.mockRestore()
2020
})
2121

22+
// TODO: Can be removed in a future React release: https://github.com/reactwg/react-18/discussions/23#discussioncomment-798952
2223
// eslint-disable-next-line import/no-extraneous-dependencies -- need the version from React not an explicitly declared one
2324
jest.mock('scheduler', () => require('scheduler/unstable_mock'))

0 commit comments

Comments
 (0)