Show CI config for debugging

This commit is contained in:
Timothy Warren 2018-02-13 11:08:04 -05:00
parent 5d1d33b087
commit b9bd807670

View File

@ -1,8 +1,13 @@
// Load the test config file
const configFile = process.env.CI ? './config-ci.json': './config.json';
const configFile = process.env.CI ? './config-ci.json' : './config.json';
const config = require(configFile);
if (process.env.CI !== undefined) {
console.log(config);
}
module.exports = {
config: require(configFile),
config,
tests: require('./base/tests'),
promiseTestRunner: require('./base/adapterPromiseTestRunner')
};