Code coverage report for server/env/index.js

Statements: 83.33% (5 / 6)      Branches: 50% (1 / 2)      Functions: 100% (0 / 0)      Lines: 83.33% (5 / 6)      Ignored: none     

All files » server/env/ » index.js
1 2 3 4 5 6 7 8 91 1 1   1     1  
var path = require('path');
var devConfigPath = path.join(__dirname, './development.js');
var productionConfigPath = path.join(__dirname, './production.js');
 
Iif (process.env.NODE_ENV === 'production') {
    module.exports = require(productionConfigPath);
} else {
    module.exports = require(devConfigPath);
}