File tree 2 files changed +0
-3
lines changed
2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,6 @@ export function instrumentOutgoingRequests(_options?: Partial<RequestInstrumenta
143
143
* A function that determines whether to attach tracing headers to a request.
144
144
* This was extracted from `instrumentOutgoingRequests` to make it easier to test shouldAttachHeaders.
145
145
* We only export this fuction for testing purposes.
146
- *
147
- * TODO (v8): Remove `tracingOrigins` which should drastically simplify this function.
148
146
*/
149
147
export function shouldAttachHeaders ( url : string , tracePropagationTargets : ( string | RegExp ) [ ] | undefined ) : boolean {
150
148
return stringMatchesSomePattern ( url , tracePropagationTargets || DEFAULT_TRACE_PROPAGATION_TARGETS ) ;
Original file line number Diff line number Diff line change @@ -391,7 +391,6 @@ describe('callbacks', () => {
391
391
} ) ;
392
392
} ) ;
393
393
394
- // TODO (v8): Adapt these tests once we remove `tracingOrigins`
395
394
describe ( 'shouldAttachHeaders' , ( ) => {
396
395
describe ( 'should prefer `tracePropagationTargets` over defaults' , ( ) => {
397
396
it ( 'should return `true` if the url matches the new tracePropagationTargets' , ( ) => {
You can’t perform that action at this time.
0 commit comments