File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ node_modules/
1212/.repl-history
1313.vscode
1414/junit-reports /
15+ /config /development.json
Original file line number Diff line number Diff line change 11default : base
22
3+ NODE_CONFIG_ENV ?= test
4+
35node_modules : package.json
46 npm install
57 touch node_modules
@@ -115,19 +117,19 @@ test-db-migrations:
115117
116118.PHONY : test-fast
117119test-fast : node_version
118- BCRYPT=insecure npx mocha --recursive --fgrep @slow --invert
120+ NODE_CONFIG_ENV=test BCRYPT=insecure npx mocha --recursive --fgrep @slow --invert
119121
120122.PHONY : test-integration
121123test-integration : node_version
122- BCRYPT=insecure npx mocha --recursive test/integration
124+ NODE_CONFIG_ENV= $( NODE_CONFIG_ENV ) BCRYPT=insecure npx mocha --recursive test/integration
123125
124126.PHONY : test-unit
125127test-unit : node_version
126- BCRYPT=insecure npx mocha --recursive test/unit
128+ NODE_CONFIG_ENV=test BCRYPT=insecure npx mocha --recursive test/unit
127129
128130.PHONY : test-coverage
129131test-coverage : node_version
130- npx nyc -x " **/migrations/**" --reporter=lcov node_modules/.bin/_mocha --recursive test
132+ NODE_CONFIG_ENV=test npx nyc -x " **/migrations/**" --reporter=lcov node_modules/.bin/_mocha --recursive test
131133
132134.PHONY : lint
133135lint : node_version
You can’t perform that action at this time.
0 commit comments