node-query/test/base.js

14 lines
328 B
JavaScript
Raw Permalink Normal View History

// Load the test config file
2018-02-13 11:08:04 -05:00
const configFile = process.env.CI ? './config-ci.json' : './config.json';
const config = require(configFile);
if (process.env.CI !== undefined) {
console.log(config);
}
module.exports = {
2018-02-13 11:08:04 -05:00
config,
tests: require('./base/tests'),
promiseTestRunner: require('./base/adapterPromiseTestRunner')
};