diff --git a/test/test.blockchain.Insight.js b/test/test.blockchain.Insight.js index 1d1a2bebd..2a54751a7 100644 --- a/test/test.blockchain.Insight.js +++ b/test/test.blockchain.Insight.js @@ -60,7 +60,7 @@ describe('Insight model', function() { }); // Tests for Node - if (process.version) { + if (typeof process !== 'undefined' && process.version) { it('should return array of unspent output', function(done) { var i = new Insight();