-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install testing packages for server, setup config
What: 1) Install jest and supertest 2) Set jest to ignore /dist, /static, /node_modules Why: 1) supertest is useful for mocking http requests 2) Only test server/src
- Loading branch information
1 parent
80556c4
commit f96161c
Showing
4 changed files
with
6,396 additions
and
1,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
DATABASE_URL=postgres://<user>:<pw>@<instance>:5432/<db_name> | ||
TEST_DATABASE_URL=postgres://<user>:<pw>@<test_instance>:5432/<test_db_name> | ||
ALPHA_VANTAGE_KEY= | ||
JWT_SECRET=jonistheman | ||
SALT=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.