fast-check
Version:
Property based testing framework for JavaScript (like QuickCheck)
12 lines (11 loc) • 455 B
TypeScript
/**
* Generated instances having a method [cloneMethod]
* will be automatically cloned whenever necessary
*
* This is pretty useful for statefull generated values.
* For instance, whenever you use a Stream you directly impact it.
* Implementing [cloneMethod] on the generated Stream would force
* the framework to clone it whenever it has to re-use it
* (mainly required for chrinking process)
*/
export declare const cloneMethod: unique symbol;