mirror of https://github.com/embarklabs/embark.git
fix noise in mocha test output re: missing module
This commit is contained in:
parent
6a86af8020
commit
f81c16e3aa
|
@ -3,6 +3,7 @@ const assert = require('assert');
|
||||||
const sinon = require('sinon');
|
const sinon = require('sinon');
|
||||||
const TestLogger = require('../lib/tests/test_logger');
|
const TestLogger = require('../lib/tests/test_logger');
|
||||||
const ProcessLauncher = require('../lib/process/processLauncher');
|
const ProcessLauncher = require('../lib/process/processLauncher');
|
||||||
|
const path = require('path');
|
||||||
|
|
||||||
describe('ProcessWrapper', () => {
|
describe('ProcessWrapper', () => {
|
||||||
let processLauncher;
|
let processLauncher;
|
||||||
|
@ -11,7 +12,7 @@ describe('ProcessWrapper', () => {
|
||||||
sinon.stub(ProcessLauncher.prototype, '_subscribeToMessages');
|
sinon.stub(ProcessLauncher.prototype, '_subscribeToMessages');
|
||||||
processLauncher = new ProcessLauncher({
|
processLauncher = new ProcessLauncher({
|
||||||
logger: new TestLogger({}),
|
logger: new TestLogger({}),
|
||||||
modulePath: 'test.js'
|
modulePath: path.join(__dirname, 'test.js')
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
// empty -- loaded by ./processLauncher.js
|
Loading…
Reference in New Issue