statex icon indicating copy to clipboard operation
statex copied to clipboard

How to mock store in components

Open blopez2010 opened this issue 6 years ago • 5 comments

I've being looking around how to mock components in order to be tested, do you have an idea? https://github.com/rintoj/statex/blob/master/examples/todo-ng-ts/src/app/list/list.component.ts

Since you are doing a new instance of the store, it isn't quite easy to test it.

Thanks!

blopez2010 avatar Feb 12 '18 17:02 blopez2010