diff --git a/experimental/packages/opentelemetry-instrumentation/test/node/EsmInstrumentation.test.mjs b/experimental/packages/opentelemetry-instrumentation/test/node/EsmInstrumentation.test.mjs index f09097cd796..2aea4a8ed94 100644 --- a/experimental/packages/opentelemetry-instrumentation/test/node/EsmInstrumentation.test.mjs +++ b/experimental/packages/opentelemetry-instrumentation/test/node/EsmInstrumentation.test.mjs @@ -15,12 +15,12 @@ */ import * as assert from 'assert'; -import { - InstrumentationBase, - InstrumentationNodeModuleDefinition, -} from '../../build/src/index.js'; +import * as mod from '../../build/src/index.js'; import * as exported from 'test-esm-module'; +const InstrumentationBase = mod.InstrumentationBase; +const InstrumentationNodeModuleDefinition = mod.InstrumentationNodeModuleDefinition + class TestInstrumentationWrapFn extends InstrumentationBase { constructor(config) { super('test-esm-instrumentation', '0.0.1', config);