Recently, I upgraded my angular project from v14 to v15. But after the upgrade, on running the test suite using the command ng test, I'm getting the following error:

I addressed the warning shown in the above screenshot but unfortunately, the issue didn't get resolved. Please help me in any way possible.