Skip to content

Commit

Permalink
Update experimental/packages/opentelemetry-sdk-node/test/sdk.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Pichler <[email protected]>
  • Loading branch information
JacksonWeber and pichlermarc authored Jan 30, 2024
1 parent e4eb1a1 commit 35b889e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 35b889e

Please sign in to comment.