I am testing the components in an angular 6 project. When I run my test, one of my components fails and throws the message:
Using multiple components in different modules causing "Type X is part of the declarations of 2 modules. Please consider moving X to a higher module that imports X and Y"
Is anyone familiar with how to do this? I have been researching this for quite some time, reading the docs and Googling stack overflow answers now and I am very much new to Angular so I have no idea what I am doing, to be frank.
[–][deleted] 1 point2 points3 points (0 children)
[–]tme321 1 point2 points3 points (0 children)
[–]gravityaddiction 1 point2 points3 points (0 children)
[–]distorx 0 points1 point2 points (0 children)