Angular 19 Jasmine Test HighContrastModeDetector Error

Discussão em 'Angular' iniciado por AShkANRed, Novembro 21, 2025.

  1. AShkANRed

    AShkANRed Guest

    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.

    [​IMG]

    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...

Compartilhe esta Página