标签: reactjs jestjs react-testing-library
我有一个测试用例,我需要模拟 useCallback 并且找不到任何参考。我正在使用 jest 和 React-Testing-Library。 请分享任何好的参考。