From c1a3cbc28c2c663ac679bd9392b85871d4b3a928 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 28 Feb 2014 16:14:44 +0100 Subject: [PATCH] Hush millstone during testsuite --- test/support/test_helper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/test_helper.js b/test/support/test_helper.js index 7b465611..89873c6b 100644 --- a/test/support/test_helper.js +++ b/test/support/test_helper.js @@ -12,6 +12,7 @@ var LZMA = require('lzma/lzma_worker.js').LZMA; global.settings = require(__dirname + '/../../config/settings'); global.environment = require(__dirname + '/../../config/environments/test'); _.extend(global.settings, global.environment); +process.env.NODE_ENV = 'test'; // Utility function to compress & encode LZMA