diff --git a/packages/opentelemetry-api/test/api/api.test.ts b/packages/opentelemetry-api/test/api/api.test.ts index 9e5f115cec..5e6bd06fef 100644 --- a/packages/opentelemetry-api/test/api/api.test.ts +++ b/packages/opentelemetry-api/test/api/api.test.ts @@ -41,7 +41,24 @@ describe('API', () => { describe('GlobalTracerProvider', () => { const spanContext = { - traceId: new Uint8Array([0xd4, 0xcd, 0xa9, 0x5b, 0x65, 0x2f, 0x4a, 0x15, 0x92, 0xb4, 0x49, 0xd5, 0x92, 0x9f, 0xda, 0x1b]), + traceId: new Uint8Array([ + 0xd4, + 0xcd, + 0xa9, + 0x5b, + 0x65, + 0x2f, + 0x4a, + 0x15, + 0x92, + 0xb4, + 0x49, + 0xd5, + 0x92, + 0x9f, + 0xda, + 0x1b, + ]), spanId: new Uint8Array([0x6e, 0x0c, 0x63, 0x25, 0x7d, 0xe3, 0x4c, 0x92]), traceFlags: TraceFlags.UNSAMPLED, }; diff --git a/packages/opentelemetry-api/test/noop-implementations/noop-span.test.ts b/packages/opentelemetry-api/test/noop-implementations/noop-span.test.ts index 5aee2645a2..fa3a6b49e2 100644 --- a/packages/opentelemetry-api/test/noop-implementations/noop-span.test.ts +++ b/packages/opentelemetry-api/test/noop-implementations/noop-span.test.ts @@ -40,13 +40,56 @@ describe('NoopSpan', () => { span.addEvent('sent', { id: '42', key: 'value' }); span.addLink({ - traceId: new Uint8Array([0xd4, 0xcd, 0xa9, 0x5b, 0x65, 0x2f, 0x4a, 0x15, 0x92, 0xb4, 0x49, 0xd5, 0x92, 0x9f, 0xda, 0x1b]), + traceId: new Uint8Array([ + 0xd4, + 0xcd, + 0xa9, + 0x5b, + 0x65, + 0x2f, + 0x4a, + 0x15, + 0x92, + 0xb4, + 0x49, + 0xd5, + 0x92, + 0x9f, + 0xda, + 0x1b, + ]), spanId: new Uint8Array([0x6e, 0x0c, 0x63, 0x25, 0x7d, 0xe3, 0x4c, 0x92]), }); span.addLink( { - traceId: new Uint8Array([0xd4, 0xcd, 0xa9, 0x5b, 0x65, 0x2f, 0x4a, 0x15, 0x92, 0xb4, 0x49, 0xd5, 0x92, 0x9f, 0xda, 0x1b]), - spanId: new Uint8Array([0x6e, 0x0c, 0x63, 0x25, 0x7d, 0xe3, 0x4c, 0x92]), + traceId: new Uint8Array([ + 0xd4, + 0xcd, + 0xa9, + 0x5b, + 0x65, + 0x2f, + 0x4a, + 0x15, + 0x92, + 0xb4, + 0x49, + 0xd5, + 0x92, + 0x9f, + 0xda, + 0x1b, + ]), + spanId: new Uint8Array([ + 0x6e, + 0x0c, + 0x63, + 0x25, + 0x7d, + 0xe3, + 0x4c, + 0x92, + ]), }, { id: '42', key: 'value' } ); diff --git a/packages/opentelemetry-api/test/noop-implementations/noop-tracer.test.ts b/packages/opentelemetry-api/test/noop-implementations/noop-tracer.test.ts index 2afd71bc3e..ad0a78c255 100644 --- a/packages/opentelemetry-api/test/noop-implementations/noop-tracer.test.ts +++ b/packages/opentelemetry-api/test/noop-implementations/noop-tracer.test.ts @@ -15,7 +15,13 @@ */ import * as assert from 'assert'; -import { NoopTracer, NOOP_SPAN, SpanKind, INVALID_TRACE_ID, INVALID_SPAN_ID } from '../../src'; +import { + NoopTracer, + NOOP_SPAN, + SpanKind, + INVALID_TRACE_ID, + INVALID_SPAN_ID, +} from '../../src'; import { Context } from '@opentelemetry/scope-base'; describe('NoopTracer', () => {