- Notifications
You must be signed in to change notification settings - Fork2
Test your sagas (redux-saga) with ease, compatible with Jest snapshots !
License
NotificationsYou must be signed in to change notification settings
unirakun/k-redux-saga-tester
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Test your sagas (redux-saga) with ease, compatible with Jest snapshots!
importtesterfrom'k-redux-saga-tester'import{search}from'./mySaga'describe('mySaga',()=>{describe('search',()=>{consttest=tester(search)(/* saga params */)it('should search and set something',()=>{constmocks={call:[()=>[{id:1,name:'name 1'},{id:2,name:'name 2'}]],select:[()=>({some:'form',value:true})],}expect(test(mocks)).toMatchSnapshot()})})})
uni rakun is created by two passionate french developers.
Do you want to contact them ? Go to theirwebsite
Guillaume CRESPEL | Fabien JUIF |
About
Test your sagas (redux-saga) with ease, compatible with Jest snapshots !
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.