#1 -- added support to import app configuration based on --env

This commit is contained in:
sthzg
2015-10-20 00:34:36 +02:00
parent 8550022eb5
commit 236012dea6
9 changed files with 57 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
'use strict';
import config from 'config';
describe('appEnvConfigTests', () => {
it('should load app config file depending on current --env', () => {
expect(config.appEnv).to.equal('test');
});
});