1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Detect unnecessary imports in tests

Discussão em 'Angular' iniciado por kerosene, Junho 6, 2025.

  1. kerosene

    kerosene Guest

    Angular's Compiler has the possibility to detect unused standalone imports with the rule NG8113 Unused Standalone Imports.

    By default those detections are printed as warning.

    Is there a way to get those warnings for tests with Jasmine as well?

    I added some unused imports, but not warning was emitted. Is this maybe configurable?

    Continue reading...

Compartilhe esta Página