Skip to content

Commit 6eb84b0

Browse files
committed
fix(git): add .env from fixtures
1 parent 87f9af7 commit 6eb84b0

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ build
133133
.env
134134
.env.testing
135135
.env.production
136+
!tests/fixtures/**/.env**
136137

137138
# MacOS folder mapper file
138139
.DS_Store

tests/fixtures/.env

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ENV="production"
2+
APP_ENV="other"
3+
NUMBER_ENV="10"
4+
BOOLEAN_ENV="true"
5+
OBJECT_ENV="{"name":"Paulo"}"
6+
ENV_IN_ENV="${NUMBER_ENV}-${BOOLEAN_ENV}"
7+
ENV_IN_ENV_JSON="{ "maintainers": ${OBJECT_ENV} }"
8+
PRESET="false"

tests/fixtures/.env.testing

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ENV_TESTING="testing"
2+
PRESET="false"

0 commit comments

Comments
 (0)