fix tests

This commit is contained in:
Jonathan Rainville 2018-04-27 15:35:12 -04:00
parent 94c493e854
commit 3f3bba33c2
1 changed files with 3 additions and 1 deletions

View File

@ -3,11 +3,13 @@ const Config = require('../lib/core/config.js');
const Plugins = require('../lib/core/plugins.js'); const Plugins = require('../lib/core/plugins.js');
const assert = require('assert'); const assert = require('assert');
const TestLogger = require('../lib/tests/test_logger.js'); const TestLogger = require('../lib/tests/test_logger.js');
const Events = require('../lib/core/events');
describe('embark.Config', function () { describe('embark.Config', function () {
let config = new Config({ let config = new Config({
env: 'myenv', env: 'myenv',
configDir: './test/test1/config/' configDir: './test/test1/config/',
events: new Events()
}); });
config.plugins = new Plugins({plugins: {}}); config.plugins = new Plugins({plugins: {}});
config.logger = new TestLogger({}); config.logger = new TestLogger({});