diff --git a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts index 9a222f48f49..eccf35bc7a8 100644 --- a/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-http/test/utils/assertSpan.ts @@ -33,7 +33,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; forceStatus?: Status; component: string; } diff --git a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts index f89aa5b5b63..639a16d989b 100644 --- a/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts +++ b/packages/opentelemetry-plugin-https/test/utils/assertSpan.ts @@ -35,7 +35,7 @@ export const assertSpan = ( hostname: string; pathname: string; reqHeaders?: http.OutgoingHttpHeaders; - path?: string; + path?: string | null; component: string; } ) => {