Show CI config for debugging
This commit is contained in:
parent
5d1d33b087
commit
b9bd807670
@ -1,8 +1,13 @@
|
|||||||
// Load the test config file
|
// 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 = {
|
module.exports = {
|
||||||
config: require(configFile),
|
config,
|
||||||
tests: require('./base/tests'),
|
tests: require('./base/tests'),
|
||||||
promiseTestRunner: require('./base/adapterPromiseTestRunner')
|
promiseTestRunner: require('./base/adapterPromiseTestRunner')
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user