From d5fc875e5dd6113ac04870585fa62bde43daac8d Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Tue, 20 Sep 2022 18:36:03 -0400 Subject: [PATCH] test: remove update to process.config (#1208) process.config is now read-only. Remove attempt to update it. This may break the ability to run tests in debug mode but is needed to get ci running again. Signed-off-by: Michael Dawson --- test/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/index.js b/test/index.js index 2f0933658..8880e4702 100644 --- a/test/index.js +++ b/test/index.js @@ -90,11 +90,6 @@ function loadTestModules (currentDirectory = __dirname, pre = '') { loadTestModules(); -process.config.target_defaults.default_configuration = - fs - .readdirSync(path.join(__dirname, process.env.REL_BUILD_PATH || '', 'build')) - .filter((item) => (item === 'Debug' || item === 'Release'))[0]; - let napiVersion = Number(process.versions.napi); if (process.env.NAPI_VERSION) { // we need this so that we don't try run tests that rely