Skip to content

Commit c993c34

Browse files
committed
use the same triple-slash-ref to solve a similar testing issue with host-metrics package; use eslint disable comment to avoid complaint about using those triple-slash-refs
1 parent 4059e8d commit c993c34

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/opentelemetry-host-metrics/test/metric.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17+
/* eslint-disable-next-line @typescript-eslint/triple-slash-reference */
18+
/// <reference path="../global.d.ts" />
19+
1720
import * as Network from 'systeminformation/lib/network';
1821
import type { Systeminformation } from 'systeminformation';
1922
import { Attributes } from '@opentelemetry/api';

plugins/node/opentelemetry-instrumentation-router/test/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
/* eslint-disable-next-line @typescript-eslint/triple-slash-reference */
1718
/// <reference path="../src/router.d.ts" />
1819

1920
import { context, trace } from '@opentelemetry/api';

0 commit comments

Comments
 (0)