From fb71a08bafc1461cdff945e5add78862d3d28b6b Mon Sep 17 00:00:00 2001 From: Zaizhuang Cheng Date: Wed, 16 Jul 2014 12:25:31 -0700 Subject: [PATCH] fixed tests --- test/raven.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/raven.test.js b/test/raven.test.js index b5c42496a15e..74b43777dbf7 100644 --- a/test/raven.test.js +++ b/test/raven.test.js @@ -234,6 +234,7 @@ describe('globals', function() { it('should write to console.error when Raven is not configured and Raven.debug is true', function() { hasJSON = true; // be explicit globalServer = undefined; + Raven.debug = true; this.sinon.stub(console, 'error'); isSetup(); assert.isTrue(console.error.calledOnce);