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

Cannot read properties of undefined (reading 'ɵcmp') in Jest test Angular

Discussão em 'Angular' iniciado por Alex Alex, Setembro 12, 2024.

  1. Alex Alex

    Alex Alex Guest

    I have a parent component which have a child component which uses it's parent component in the template. firstly the app failed to build i've referred this article -> https://v17.angular.io/api/core/forwardRef and the app was build successfully but now all unit test (jest) for parent and child components and other components which uses the parent component fails with this error -> Cannot read properties of undefined (reading 'ɵcmp'). Did someone managed to solve this?

    Continue reading...

Compartilhe esta Página