From 0db3ea8256c7077b947a0607f999e05642d77591 Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Fri, 12 Jan 2024 21:38:42 +0100 Subject: [PATCH] throw error if no config is supplied --- labscore/utils/testing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labscore/utils/testing.js b/labscore/utils/testing.js index 0d40ae7..ad20c4b 100644 --- a/labscore/utils/testing.js +++ b/labscore/utils/testing.js @@ -15,7 +15,7 @@ function validateGroup(groups = [], featureId){ // Fetches the testing configuration from the cdn async function getTestConfig(){ - //if(!process.env.TESTING_CONFIG_URL) throw "Missing TESTING_CONFIG_URL in environment"; + if(!process.env.TESTING_CONFIG_URL) throw "Missing TESTING_CONFIG_URL in environment"; try{ let config = await superagent.get(process.env.TESTING_CONFIG_URL)