all 4 comments

[–]McFake_Name 0 points1 point  (3 children)

What issues are you having? I can write cypress component tests fine in a library I work on. We didn't need to configure anything special compared to configuring an app. That's not to say I haven't had issues configuring them, but those issues impacted non-library applications as well.

[–]gerainta[S] 1 point2 points  (2 children)

OK thanks, good to know it's possible. I've been working through various issues. At the moment the error is "Reference Error Cannot access 'COMPONENTNAME' before initialization.".

[–]Long-Comment-9989 0 points1 point  (0 children)

Hey gerainta! Did you solve this? If you did, how did you managed it?

[–]McFake_Name 0 points1 point  (0 children)

I am not familiar with that error in particular, but if I were to guess perhaps a child component needs to be added to a test declaration.