Skip to content

Extension of the Chance.js library adding custom random generators and the ability to reproduce test runs by setting a seed value

Notifications You must be signed in to change notification settings

TractorZoom/chance-the-wrapper

Repository files navigation

@tractorzoom/chance-the-wrapper

Reproducible Chance Values

Setting the environment varaible CHANCE_SEED will allow to re-run your tests with the same values based on the given seed.

pull_request_verify publish

Custom Chance Methods

Method: object()

Returns an object in the form: {key: chance.hash()}

parameter type required description
N/A N/A N/A N/A

About

Extension of the Chance.js library adding custom random generators and the ability to reproduce test runs by setting a seed value

Resources

Stars

Watchers

Forks

Packages

No packages published