From 67bb1c3ea9ede0cdefe2aa80e0a64ecc6edaf6d9 Mon Sep 17 00:00:00 2001 From: Annosha Date: Sat, 19 Oct 2024 19:42:28 +0500 Subject: [PATCH] Local test module added --- .../test/node/RequireInTheMiddleSingleton.test.ts | 1 - .../test/node/node_modules/test-non-core-module/index.js | 3 --- .../node/node_modules/test-non-core-module/lib/copy-sync.d.ts | 2 -- 3 files changed, 6 deletions(-) delete mode 100644 experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/index.js delete mode 100644 experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/lib/copy-sync.d.ts diff --git a/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts b/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts index 6913a7ec9d..8c1be21446 100644 --- a/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts +++ b/experimental/packages/opentelemetry-instrumentation/test/node/RequireInTheMiddleSingleton.test.ts @@ -195,7 +195,6 @@ describe('RequireInTheMiddleSingleton', () => { baseDir ); }).timeout(30000); - }); }); }); diff --git a/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/index.js b/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/index.js deleted file mode 100644 index 00ae95c4a1..0000000000 --- a/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/index.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - copy: require('./lib/copy-sync') // matches the original API -}; diff --git a/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/lib/copy-sync.d.ts b/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/lib/copy-sync.d.ts deleted file mode 100644 index 76ea67629a..0000000000 --- a/experimental/packages/opentelemetry-instrumentation/test/node/node_modules/test-non-core-module/lib/copy-sync.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -declare function copySync(): void; -export = copySync;