From adcfa6c2c53967c52925fd89722faf7e45563f3c Mon Sep 17 00:00:00 2001 From: Unitech Date: Thu, 23 Feb 2017 22:21:44 +0100 Subject: [PATCH] (exception) throttle test --- test/fixtures/interface/process_exception_with_logs.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/fixtures/interface/process_exception_with_logs.js b/test/fixtures/interface/process_exception_with_logs.js index 5fa6d9cd..1200055b 100644 --- a/test/fixtures/interface/process_exception_with_logs.js +++ b/test/fixtures/interface/process_exception_with_logs.js @@ -2,11 +2,9 @@ var pmx = require('pmx'); pmx.action('exception', function(reply) { - setTimeout(function() { - console.log('Im going to crash'); - console.log('I will crash muhahah'); - throw new Error('CRASHED'); - }, 100); + console.log('Im going to crash'); + console.log('I will crash muhahah'); + throw new Error('CRASHED'); return reply({ sucess: true}); });