Thenlie / turtle

"Wordle" clone
https://wurtle.herokuapp.com/
MIT License
3 stars 2 forks source link

Feature/seeder #19

Closed Thenlie closed 2 years ago

Thenlie commented 2 years ago

Added seeder file and Jest testing suite

Created a basic seeder file that created randomized Users and Scores using Faker.js. There is an accompanying testing suite that ensures the User and Score objects are formatted correctly. All tests are passing and should be checked before subsequent PR's.

To run to testing suite, navigate to /server and run the command:

npm run test

To run the seed file, navigate to /server and run the command:

npm run seed

NOTE: I have not included my most recent profile changes since they are not finished.