-
Notifications
You must be signed in to change notification settings - Fork 518
React/Redux Karma Unit Testing Example #1230
Comments
If you want to write just Unit Test then you can look at my jest pull request - #1041 |
Added an example repo - https://github.com/benhysell/spa @rosieks , I saw your example...I was trying to follow the angular example as close as possible and use Karma. My hope is to get parity between the two, and then submit a pull request to update the React/Redux example for others here. |
Thanks for the answers @rosieks and @benhysell.
Please bear in mind that the Angular template is using Karma to implement browser automation testing. If there was to be parity, then the React/Redux template would also be doing browser automation, not just Jest unit tests. |
Can I ask, why not leave this open as a 'thing to do' for the project? |
I'm trying to copy the angular unit testing setup found in the angular template and re-implement it with Karma for the React/Redux example, and I'm not having a whole lot of luck.
Does anyone here have any guidance on how to get up and going? Googling for 'Typescript/React/Redux/Unit Test/Karma' doesn't really kick up enough to get past the initial setup phase.
Counter.spec.ts
.Any kick in the right direction would be greatly appreciated...
I realize this isn't exactly the right forum to post this type of question, but I assume a lot of .NET developers use these templates as a starting off spot to get their feet wet with React/Redux. It would be awesome to have this last little bit of help to get us our way.
The text was updated successfully, but these errors were encountered: