-
Notifications
You must be signed in to change notification settings - Fork 30
/
.env.test
26 lines (20 loc) · 962 Bytes
/
.env.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# ## App setup
# Setup in production with your final main URL
# With port and protocol: https://origin:port
APP_URL=http://localhost:3000
# ## Environment
NEXT_PUBLIC_NODE_ENV=test
# If token is less than 32 char you'll get "Password too short error"!
TOKEN_SECRET="test-secret-token-must-be-at-least-32-chars"
NEXT_PUBLIC_GRAPHQL_URI="http://localhost:3000/api/graphql"
MONGO_URI="mongodb://localhost:27017/vulcan-next-app"
APOLLO_SERVER_CORS_WHITELIST="http://localhost:3000"
# Need to be in sync with .env.development for Cypress to work ok
ADMIN_EMAIL="[email protected]"
# if you have changed ADMIN_INITIAL_PASSWORD here in .env.development, please add the
# value in your local .env.test.local (it's safe, it's not tracked by git) so Cypress can work correctly
ADMIN_INITIAL_PASSWORD="vulcan_is_cool"
# For Cypress, we use the "smtp-test" package that can spawn an SMTP server
SMTP_HOST=localhost
SMTP_PORT=7777
SMTP_SECURE=