fixed tests

This commit is contained in:
Wyatt Johnson
2017-12-21 14:26:44 -07:00
parent c8ab5cdbf6
commit c2a8a3e4a3
4 changed files with 15 additions and 9 deletions
+6 -3
View File
@@ -7,9 +7,12 @@
// entrypoint for the entire applications configuration.
require('env-rewrite').rewrite();
// Apply all the configuration provided in the .env file if it isn't already
// in the environment.
require('dotenv').config();
if (process.env.NODE_ENV === 'development') {
// Apply all the configuration provided in the .env file if it isn't already
// in the environment.
require('dotenv').config();
}
const uniq = require('lodash/uniq');
const ms = require('ms');