Generator for test fixtures
npm install hof-util-testdataThe library contains a number of generators for values of certain types. Values are generators on accessing the type property.
``js
const TestData = require('hof-util-testdata');
console.log(TestData.name);
// "David Fletcher"
console.log(TestData.name);
// "Irene O'Grady"
`
* firstnamelastname
* name
*
* phone
* streetname
* streetsuffix
* address
* - ${number(1,100)} ${streetname} ${streetsuffix}postcode
* country
* - a random country from homeoffice-countries
* number(min, max) - returns an integer between min and maxnumber(max)
* - returns an integer between 0 and maxnumber()` - returns an integer between 0 and 100
*