mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 14:28:23 +00:00
feat(e2e): changed to root .env.test and added .env.test.example
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
DB_CONNECTION_URI=postgres://infisical:infisical@localhost:5430/infisical-test
|
||||||
|
REDIS_URL=redis://redis:6379
|
||||||
|
# Keys
|
||||||
|
# Required key for platform encryption/decryption ops
|
||||||
|
# THIS IS A SAMPLE ENCRYPTION KEY AND SHOULD NOT BE USED FOR PRODUCTION
|
||||||
|
ENCRYPTION_KEY=6c1fe4e407b8911c104518103505b218
|
||||||
|
AUTH_SECRET=something-random
|
||||||
@@ -15,7 +15,7 @@ import { AuthTokenType } from "@app/services/auth/auth-type";
|
|||||||
import { mockQueue } from "./mocks/queue";
|
import { mockQueue } from "./mocks/queue";
|
||||||
import { mockSmtpServer } from "./mocks/smtp";
|
import { mockSmtpServer } from "./mocks/smtp";
|
||||||
|
|
||||||
dotenv.config({ path: path.join(__dirname, "../.env.test") });
|
dotenv.config({ path: path.join(__dirname, "../../.env.test"), debug: true });
|
||||||
export default {
|
export default {
|
||||||
name: "knex-env",
|
name: "knex-env",
|
||||||
transformMode: "ssr",
|
transformMode: "ssr",
|
||||||
|
|||||||
Reference in New Issue
Block a user