fix noise in mocha test output re: missing module

This commit is contained in:
Michael Bradley, Jr 2018-07-17 11:05:56 -05:00
parent d564f8e1e0
commit 3bda1ba47c
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ const assert = require('assert');
const sinon = require('sinon');
const TestLogger = require('../lib/tests/test_logger');
const ProcessLauncher = require('../lib/process/processLauncher');
const path = require('path');
describe('ProcessWrapper', () => {
let processLauncher;
@ -11,7 +12,7 @@ describe('ProcessWrapper', () => {
sinon.stub(ProcessLauncher.prototype, '_subscribeToMessages');
processLauncher = new ProcessLauncher({
logger: new TestLogger({}),
modulePath: 'test.js'
modulePath: path.join(__dirname, 'test.js')
});
});

1
test/test.js Normal file
View File

@ -0,0 +1 @@
// empty -- loaded by ./processLauncher.js