-
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.
Merge pull request #63 from yeha98555/fix/checkingToken-test-error
fix: Update checkingToken to handle env variable loading issue in Jest
- Loading branch information
Showing
4 changed files
with
137 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
NODE_ENV=development | ||
|
||
PORT=3000 | ||
|
||
MONGODB_USER=user | ||
MONGODB_PASSWORD=password | ||
MONGODB_DATABASE=test | ||
MONGODB_CONNECT_STRING=mongodb+srv://<user>:<password>@xxxxxxxxxxx/<database>?retryWrites=true&w=majority | ||
MONGODB_ENDPOINT=xxxxxxxxxxxxxxxx.docdb.amazonaws.com | ||
|
||
JWT_SECRET=secret | ||
LOG_FILE_DIR=logs | ||
|
||
# NewebPay | ||
NEWEBPAY_VERSION=1.5 | ||
NEWEBPAY_MERCHANT_ID=MSxxxxxxx | ||
NEWEBPAY_HASH_KEY=key | ||
NEWEBPAY_HASH_IV=iv | ||
NEWEBPAY_NOTIFY_URL=https://ticket-haven-dev.onrender.com/orders/payment_notify | ||
NEWEBPAY_RETURN_URL=http://ticket-haven-dev.onrender.com/orders/payment_return | ||
PAYMENT_RETURN_URL=http://ticket-haven-platform.vercel.app/payment-completed | ||
|
||
# ticket checkin code | ||
TICKET_CHECKING_KEY=secret | ||
TICKET_CHECKING_IV=secret |
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
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
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