Created
December 26, 2021 21:43
-
-
Save HonzaMac/d71257a16eb5b1afe76c1d5f63fc007f to your computer and use it in GitHub Desktop.
basic factory method for creating entity user
This file contains hidden or 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
export const createUser = () => ({ | |
id: 'e2f5a82a-3f2e-4b6d-b4d2-086afaa08f8a', | |
username: 'john', | |
email: '[email protected]', | |
country: 'France', | |
department: 'IT Services', | |
divisionName: 'IT', | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment