Skip to content

Commit c219d6a

Browse files
committed
update config
1 parent a0fae20 commit c219d6a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
- image: mongo:3.6.2
77
environment:
88
NODE_ENV: test
9+
MONGO_HOST: localhost
10+
MONGO_PORT: 27017
11+
DB_NAME: TEST_DB
912

1013
steps:
1114
- checkout

src/utils/mongo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ const init = () => {
2323
process.env.MONGO_TEST_DB
2424
:
2525
process.env.MONGO_DB;
26-
console.log(process.env)
2726
console.log('MONGO_HOST', process.env.MONGO_HOST);
2827
console.log('MONGO_PORT', process.env.MONGO_PORT);
2928
console.log('DB_NAME', DB_NAME);

0 commit comments

Comments
 (0)