ssbc / ssb-fixtures

Generate a simulated .ssb folder
10 stars 1 forks source link

reset random number generator #14

Closed staltz closed 3 years ago

staltz commented 3 years ago

This module has state: https://github.com/ssb-ngi-pointer/ssb-fixtures/blob/4520fbf3a059b06f942ad47568185472ae419772/src/sample.ts#L7-L8

We have to reset it before it's re-run (within the same process).