Skip to content

Commit cf5fe65

Browse files
committed
fix linter errors
1 parent 770d76c commit cf5fe65

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/core/src/envelope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

packages/core/test/lib/envelope.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
import { createEventEnvelope } from '../../src/envelope';
21
import { DsnComponents, Event } from '@sentry/types';
32

3+
import { createEventEnvelope } from '../../src/envelope';
4+
45
const testDsn: DsnComponents = { protocol: 'https', projectId: 'abc', host: 'testry.io' };
56

67
describe('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
};

0 commit comments

Comments
 (0)