Skip to content
This repository was archived by the owner on Aug 12, 2023. It is now read-only.

Commit 9527ffa

Browse files
authored
Replace signale with pino for logging (#349)
* Replace signale with pino * Increase config flexibility * Add nodemon to dev dependencies
1 parent eaacf25 commit 9527ffa

13 files changed

Lines changed: 1075 additions & 122 deletions

File tree

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
CONNECTION_STRING=mongodb://localhost:27017/zrx-tracker
2+
ELASTIC_SEARCH_URL=http://localhost:9200
23
NODE_ENV=development
4+
PINO_ELASTIC_SEARCH_URL=

.env.prod.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
BUGSNAG_TOKEN=
22
CONNECTION_STRING=
3+
ELASTIC_SEARCH_URL=
4+
PINO_ELASTIC_SEARCH_URL=

config/jest/setup.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module.exports = {
88
'!*.config.js',
99
'!config/**',
1010
],
11-
setupFiles: ['<rootDir>/config/jest/setup'],
1211
testEnvironment: 'node',
1312
testMatch: ['**/__tests__/**/*.js', '**/*.test.js'],
1413
};

0 commit comments

Comments
 (0)