I want to be able to trigger the cleanup function of useEffect, in order to test its functionality. Here is my component:
useEffect
import React, { FC, use