I observed that set interval is used on global window level instead of to-be-watch object. this cause the local testcase failure as jest waits for clearence of set interval which will not happen.It would be better if you add setinterval to watch changes at object level instead of window level.
I observed that set interval is used on global window level instead of to-be-watch object. this cause the local testcase failure as jest waits for clearence of set interval which will not happen.It would be better if you add setinterval to watch changes at object level instead of window level.