I want to do something like this
const useContextSpy = jest.spyOn(React, \'useContext\'); const value = useContextSpy.mock.results[0];
And in