From 35b889ebd0f51cc4aa41e056a49680b8d676be61 Mon Sep 17 00:00:00 2001 From: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> Date: Tue, 30 Jan 2024 10:25:44 -0800 Subject: [PATCH] Update experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts Co-authored-by: Marc Pichler --- experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts b/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts index 416ac9825a..c1cbae520c 100644 --- a/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts +++ b/experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts @@ -905,9 +905,7 @@ describe('setup exporter from env', () => { sdk.start(); const listOfProcessors = sdk['_tracerProvider']!['_registeredSpanProcessors']!; - assert( - sdk['_tracerProvider'] instanceof TracerProviderWithEnvExporters === true - ); + assert.ok(sdk['_tracerProvider'] instanceof TracerProviderWithEnvExporters); assert( sdk['_tracerProvider']!['_config']?.sampler instanceof AlwaysOffSampler );