Closed Fr3574 closed 1 year ago
Jest allows for basic unit testing whereas supertest is a high-level test framework for testing http and by that useful for our express routes.
See the __tests__ folder where I added a basic test. You can run the tests with npm run test.
__tests__
npm run test
Closes #21
Jest allows for basic unit testing whereas supertest is a high-level test framework for testing http and by that useful for our express routes.
See the
__tests__
folder where I added a basic test. You can run the tests withnpm run test
.Closes #21