Skip to content

Commit

Permalink
fixup! test(sdk-metrics): add test to verify that globalErrorHandler …
Browse files Browse the repository at this point in the history
…is called when resolving the async resource fails
  • Loading branch information
pichlermarc committed Nov 8, 2024
1 parent 5d14c8c commit 8b372cb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ import { ResourceMetrics } from '../../src/export/MetricData';
import * as assert from 'assert';
import * as sinon from 'sinon';
import { TimeoutError } from '../../src/utils';
import {ExportResult, ExportResultCode, setGlobalErrorHandler} from '@opentelemetry/core';
import {
ExportResult,
ExportResultCode,
setGlobalErrorHandler,
} from '@opentelemetry/core';
import { assertRejects } from '../test-utils';
import { emptyResourceMetrics, TestMetricProducer } from './TestMetricProducer';
import {
Expand Down

0 comments on commit 8b372cb

Please sign in to comment.