I am trying to write a unit test for a component that contains the usage of values that come from a context file.
<code> import { globalContext } from "../../globalContext";
const { rowId, num, activeNum } = useContext(globalContext);
</code>
<code> import { globalContext } from "../../globalContext";
const { rowId, num, activeNum } = useContext(globalContext);
</code>
import { globalContext } from "../../globalContext";
const { rowId, num, activeNum } = useContext(globalContext);
In my unit test how can I mock this hook so that I can set these values to whatever I need them to be?