Flow Runtime Faker

Motivation Type definitions in javascript can help adding type safety for classes. But should not make more complicated property based testing. This package aims to generate random objects based on their flow definitions Installation yarn add flow-runtime-faker -D or npm install flow-runtime-faker --save-dev if you use only flow and not flow-runtime. You can use this plugin by: - yarn add flow-runtime babel-plugin-flow-runtime -D or npm install flow-runtime babel-plugin-flow-runtime --save-dev - add the next configuration for tests phase on your .

Array Peek

extend array functionality to allow peek method. peek vs forEach peek as forEach allows you to execute a callback on each of the elements of an array, not affecting the content of itself. The difference is that forEach returns void so no further processing can be done, while peek will return the array so you can continue the transformations necesary for your processing