2016-01-26 19:29:12 -05:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const chai = require('chai');
|
|
|
|
const chaiAsPromised = require('chai-as-promised');
|
|
|
|
chai.use(chaiAsPromised);
|
|
|
|
|
2016-03-16 08:51:05 -04:00
|
|
|
// Load the test config file
|
|
|
|
const configFile = './config.json';
|
|
|
|
|
2016-01-26 19:29:12 -05:00
|
|
|
module.exports = {
|
2016-03-16 08:51:05 -04:00
|
|
|
config: require(configFile),
|
2016-02-12 11:40:21 -05:00
|
|
|
expect: chai.expect,
|
2016-01-26 19:29:12 -05:00
|
|
|
tests: require('./base/tests'),
|
|
|
|
testRunner: require('./base/adapterCallbackTestRunner'),
|
2016-09-14 16:50:32 -04:00
|
|
|
promiseTestRunner: require('./base/adapterPromiseTestRunner')
|
|
|
|
};
|