1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Add good stack traces tests and fix stack traces in debug mode

This commit is contained in:
Ruben Bridgewater
2016-06-01 14:04:25 +02:00
parent 579584d629
commit a41cfa9aae
4 changed files with 81 additions and 3 deletions

View File

@@ -851,7 +851,7 @@ describe('The node_redis client', function () {
var id = setTimeout(function () {
external.kill();
done(Error('unref subprocess timed out'));
done(new Error('unref subprocess timed out'));
}, 8000);
external.on('close', function (code) {