diff --git a/test/processLauncher.js b/test/processLauncher.js index 64f83590f..d77f8f252 100644 --- a/test/processLauncher.js +++ b/test/processLauncher.js @@ -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') }); }); diff --git a/test/test.js b/test/test.js new file mode 100644 index 000000000..540af6ec1 --- /dev/null +++ b/test/test.js @@ -0,0 +1 @@ +// empty -- loaded by ./processLauncher.js