I upgraded our Angular from 9 to 10, using the ng update @angular/core@10 @angular/cli@10. However running ng test will cause the error below.
ng update @angular/core@10 @angular/cli@10
ng test
A