Skip to content

Commit d5fc875

Browse files
authored
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 <mdawson@devrus.com>
1 parent 30cd4a3 commit d5fc875

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ function loadTestModules (currentDirectory = __dirname, pre = '') {
9090

9191
loadTestModules();
9292

93-
process.config.target_defaults.default_configuration =
94-
fs
95-
.readdirSync(path.join(__dirname, process.env.REL_BUILD_PATH || '', 'build'))
96-
.filter((item) => (item === 'Debug' || item === 'Release'))[0];
97-
9893
let napiVersion = Number(process.versions.napi);
9994
if (process.env.NAPI_VERSION) {
10095
// we need this so that we don't try run tests that rely

0 commit comments

Comments
 (0)