boo1ean / casual

Fake data generator for javascript
3.03k stars 152 forks source link

using casual with enzyme + snapshot: fix random generator #78

Open jpabbuehl opened 6 years ago

jpabbuehl commented 6 years ago

Dear all,

I am using casual to mock graphql data fetch (apollo). I would like to write some tests using Jest+Enzyme (with snapshot). Is there a way to force casual to always uses a consistent seed ? Thank you JP

dmamills commented 6 years ago

Check the readme.