Skip to content

Testing

Jason Kiesling edited this page Oct 19, 2018 · 2 revisions

Testing! The biggest joy of development. The backend has all tests run when pushed to GitHub via CircleCI. Before pushing, run npm test to run the tests locally. All tests should pass before making a pull request.

Here is information about testing with Express, Jest, and Supertest. All tests must be in the folder '__tests__'. When you make a pull request, CircleCI will automagically run all the tests. Pull requests cannot be made unless all tests pass.