fix tests
This commit is contained in:
parent
94c493e854
commit
3f3bba33c2
|
@ -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({});
|
||||||
|
|
Loading…
Reference in New Issue