Cypress Component Testing with Angular and NGRX. #27295
Unanswered
theEloise888
asked this question in
Questions and Help
Replies: 1 comment 2 replies
-
@theEloise888 Yes it works with NgRx. The main difference between unit testing testing components with Karma/Jest and CT is the way you provide the store. With Karma/Jest you typically provide it using provideMockStore. With Component Testing you actually provide the actual store. Not sure if this helps or not, but maybe you can provide a little more context on what you are trying to test specifically |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm doing component testing and all is smooth with the exception of testing the effects and actions of my component. My question is does Cypress support NGRX component testing? If yes, how is it configured? If someone can provide a working example on how to configure the store in Cypress, or shed light on this problem would be great. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions