chore: start adding test envoriment

This commit is contained in:
canove
2020-10-22 13:36:11 -03:00
parent 9f7fee05ff
commit 3302cd643a
61 changed files with 12390 additions and 69 deletions

5
backend/src/bootstrap.ts Normal file
View File

@@ -0,0 +1,5 @@
import dotenv from "dotenv";
dotenv.config({
path: process.env.NODE_ENV === "test" ? ".env.test" : ".env"
});