test: fix unstubbed uncaughException
This commit is contained in:
parent
7d878adcf0
commit
40e7b24ea9
@ -28,6 +28,8 @@ describe('#start', function() {
|
|||||||
'../node': TestNode
|
'../node': TestNode
|
||||||
});
|
});
|
||||||
|
|
||||||
|
starttest.registerExitHandlers = sinon.stub();
|
||||||
|
|
||||||
node = starttest({
|
node = starttest({
|
||||||
path: __dirname,
|
path: __dirname,
|
||||||
config: {
|
config: {
|
||||||
@ -51,6 +53,8 @@ describe('#start', function() {
|
|||||||
'../node': TestNode
|
'../node': TestNode
|
||||||
});
|
});
|
||||||
starttest.cleanShutdown = sinon.stub();
|
starttest.cleanShutdown = sinon.stub();
|
||||||
|
starttest.registerExitHandlers = sinon.stub();
|
||||||
|
|
||||||
starttest({
|
starttest({
|
||||||
path: __dirname,
|
path: __dirname,
|
||||||
config: {
|
config: {
|
||||||
@ -83,6 +87,7 @@ describe('#start', function() {
|
|||||||
var starttest = proxyquire('../../lib/scaffold/start', {
|
var starttest = proxyquire('../../lib/scaffold/start', {
|
||||||
'../node': TestNode
|
'../node': TestNode
|
||||||
});
|
});
|
||||||
|
starttest.registerExitHandlers = sinon.stub();
|
||||||
|
|
||||||
node = starttest({
|
node = starttest({
|
||||||
path: __dirname,
|
path: __dirname,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user