File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ import {
1515 BaggageObj ,
1616 createBaggage ,
1717 createEnvelope ,
18- dsnToString ,
1918 dropUndefinedKeys ,
19+ dsnToString ,
2020 serializeBaggage ,
2121} from '@sentry/utils' ;
2222
Original file line number Diff line number Diff line change 1- import { createEventEnvelope } from '../../src/envelope' ;
21import { DsnComponents , Event } from '@sentry/types' ;
32
3+ import { createEventEnvelope } from '../../src/envelope' ;
4+
45const testDsn : DsnComponents = { protocol : 'https' , projectId : 'abc' , host : 'testry.io' } ;
56
67describe ( 'createEventEnvelope' , ( ) => {
78 describe ( 'baggage header' , ( ) => {
8- it ( ` doesn't add baggage header if event is not a transaction` , ( ) => {
9+ it ( " doesn't add baggage header if event is not a transaction" , ( ) => {
910 const event : Event = { } ;
1011 const envelopeHeaders = createEventEnvelope ( event , testDsn ) [ 0 ] ;
1112
1213 expect ( envelopeHeaders ) . toBeDefined ( ) ;
1314 expect ( envelopeHeaders . baggage ) . toBeUndefined ( ) ;
1415 } ) ;
1516
16- it ( ` doesn't add baggage header if no baggage data is available` , ( ) => {
17+ it ( " doesn't add baggage header if no baggage data is available" , ( ) => {
1718 const event : Event = {
1819 type : 'transaction' ,
1920 } ;
You can’t perform that action at this time.
0 commit comments