Skip to content

Instantly share code, notes, and snippets.

@MattMcFarland
Created March 15, 2017 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattMcFarland/ed03ea865a68cbfe4effe1f4c048b06f to your computer and use it in GitHub Desktop.
Save MattMcFarland/ed03ea865a68cbfe4effe1f4c048b06f to your computer and use it in GitHub Desktop.
jsverify with random user
const emailGenerator = jsc.asciinestring.generator.map(str => `${str}@example.com`)
const arbUser = jsc.record({
first: jsc.asciinestring,
last: jsc.asciinestring,
email: jsc.bless({ generator: emailGenerator })
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment