From 78cc9c5df9a2a828af23c78a485c7d1fd9ad0a26 Mon Sep 17 00:00:00 2001 From: mshanemc Date: Wed, 7 Aug 2024 09:51:03 -0500 Subject: [PATCH] test: remove ut init hook --- .mocharc.json | 2 +- test/init.js | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 test/init.js diff --git a/.mocharc.json b/.mocharc.json index 8bb562fc13..5adf3d90c9 100644 --- a/.mocharc.json +++ b/.mocharc.json @@ -1,5 +1,5 @@ { - "require": "test/init.js, ts-node/register, source-map-support/register", + "require": "ts-node/register, source-map-support/register", "watch-extensions": "ts", "watch-files": ["src", "test"], "recursive": true, diff --git a/test/init.js b/test/init.js deleted file mode 100644 index d314a8fd4f..0000000000 --- a/test/init.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Copyright (c) 2018, salesforce.com, inc. - * All rights reserved. - * SPDX-License-Identifier: BSD-3-Clause - * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause - */ -const path = require('path'); -process.env.TS_NODE_PROJECT = path.resolve('test/tsconfig.json');