You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
300 B
11 lines
300 B
'use strict';
|
|
|
|
let configFileName = process.env.NODE_ENV;
|
|
if (process.env.CARTO_SQL_API_ENV_BASED_CONF) {
|
|
// we override the file with the one with env vars
|
|
configFileName = 'config';
|
|
}
|
|
|
|
global.settings = require(`../config/environments/${configFileName}.js`);
|
|
process.env.NODE_ENV = 'test';
|