-
Notifications
You must be signed in to change notification settings - Fork 70
Quick Tutorials
Song Zheng edited this page Jan 13, 2022
·
7 revisions
This page serves as a list of code samples to help you navigate certain concepts. When a pull request introduces a new concept, add it to this list!
- Mocking - sometimes you may not want libraries to be run during your tests. To auto mock out libraries, you just have to put the
module-name.js
into the__mocks__
folder. code sample for auto mocking.
- Dump (backups):
pg_dump -h hostIP databaseName > ~/feb28-2022-c0d3_prod.sql
- Connect:
psql -U dbuser -h hostIP databaseName