From b225896a5e9a9ba34b3ce01968ccc1f889f04d52 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Thu, 1 Oct 2015 12:28:06 -0400 Subject: [PATCH] place config require logic inside try/catch --- test/integration/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/helpers.js b/test/integration/helpers.js index 3411749..85de69c 100644 --- a/test/integration/helpers.js +++ b/test/integration/helpers.js @@ -32,8 +32,8 @@ if (process.env.TRITON_TEST_PROFILE) { }); CONFIG.destructiveAllowed = !!process.env.TRITON_TEST_DESTRUCTIVE_ALLOWED; } else { - CONFIG = require('../config.json'); try { + CONFIG = require('../config.json'); assert.object(CONFIG, 'test/config.json'); assert.string(CONFIG.url, 'test/config.json#url'); assert.string(CONFIG.account, 'test/config.json#account');