chore(testing): only use TESTING=1 as the testing flag (#3877)

This commit is contained in:
Florent Vilmart
2017-05-28 17:04:25 -04:00
committed by Natan Rolnik
parent c99fdea6fb
commit 38a525ba5f
3 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ import {nullParser} from './cli/utils/parsers';
const logsFolder = (() => {
let folder = './logs/';
if (typeof process !== 'undefined' && process.env.NODE_ENV === 'test') {
if (typeof process !== 'undefined' && process.env.TESTING === '1') {
folder = './test_logs/'
}
if (process.env.PARSE_SERVER_LOGS_FOLDER) {