Skip to content

Commit 2fa671b

Browse files
committed
chore: remove jest
1 parent 3b13d53 commit 2fa671b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/testObservability/helper/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ exports.resolveModule = (module) => {
778778
exports.debug(`Getting ${module} from ${GLOBAL_MODULE_PATH}`);
779779

780780
let global_path = null;
781-
if (['jest-runner', 'jest-runtime'].includes(module)) {global_path = path.join(GLOBAL_MODULE_PATH, 'jest', 'node_modules', module)} else {global_path = path.join(GLOBAL_MODULE_PATH, module)}
781+
global_path = path.join(GLOBAL_MODULE_PATH, module);
782782
if (!global_path || !fs.existsSync(global_path)) {
783783
return {error: 'module_not_found'};
784784
}

0 commit comments

Comments
 (0)