Skip to content

Testing prep

Kaadan Mohamad Fadel requested to merge testing_prep into master

Replaced our config/keys file with two .env files. This makes it easier to separate the testing env from the dev one. The only difference between them now is the mongoURL. This way we can just run either npm test or dev and the server takes the appropriate mongoURL without changing anything ourselves.

I also added a new "test" script on the package.json with the jest command. Jest is gonna be used later for the tests.

Merge request reports

Loading