Created
March 15, 2017 00:12
-
-
Save MattMcFarland/ed03ea865a68cbfe4effe1f4c048b06f to your computer and use it in GitHub Desktop.
jsverify with random user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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