We have an enterprise Angular application. It was on v13 and I have upgraded it to v19. The Jasmine tests are okay on v13 but it has error on v19. I get the error shown in the screenshot. I cannot understand what this HighContrastModeDetector error. AI also couldn't help me. Importing A11yModule in imports and HighContrastModeDetector in providers also didn't help me. Does anyone have any idea for this error on Jasmine test? Continue reading...