Nicolas DUBIEN

Results 214 comments of Nicolas DUBIEN

Great change 👍 Any plan to merge it soon?

@SimenB What about the suggestion to drop `prando` and use `pure-rand` instead? Lots of usages (backing `fast-check`) and released pretty often (maintenance). I can give a hand for the switch...

`unsafeNext` is perfect! It's just the same as `next` except that it performs a change of the state of the generator, which is not an issue in that case. The...

Definitely something to that could be interesting. fast-check's already receives a time-out as part of its options, it could either leverage it to set the one of jest or the...

So far: `timeout` and `interruptAfterTimeLimit` of `fast-check` are fully disconnected from `jest.setTimeout()`. What I usually do for projects using both is: ```js // in jest.setup.cjs fc.configureGlobal({timeout: 4000}); // alternatively: fc.configureGlobal({timeout:...

@liamqma Thank you so much for the workaround it works perfectly well in my case too. I just had to register my own event listener before calling block which I...

Totally forgot to add some more context to it. But it seems that there _was_ (or _is_) a leak.

@timc1 In your footage we can see the following filter: "allocated between Snapshot 7 and Snapshot 8". ![image](https://user-images.githubusercontent.com/5300235/195070628-176f0a3e-d515-44b9-a428-82e7d6b67664.png) So it seems normal not to see Leaker at this point as...

Here is a leak-free version: https://codesandbox.io/s/strange-chihiro-83vexl?file=/src/App.js or https://83vexl.csb.app/

With the leaky version: https://mg3wgc.csb.app/ ![kbar-leak](https://user-images.githubusercontent.com/5300235/195072845-b4c7172b-3149-48d9-869a-461a1d4d7e27.gif) Without the leak: https://83vexl.csb.app/ ![kbar-no-leak](https://user-images.githubusercontent.com/5300235/195072497-2caf143c-0bff-4d1d-9d3d-06a2067bab02.gif) In both cases I took a snapshot initially to confirm the Leaker was really mount and available. Then I...