Skip to content

Commit abc16fb

Browse files
committed
remove unneeded test
1 parent da1c387 commit abc16fb

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

packages/core/test/lib/tracing/sentrySpan.test.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,6 @@ describe('SentrySpan', () => {
7575
expect(serialized).toHaveProperty('span_id', 'd');
7676
expect(serialized).toHaveProperty('trace_id', 'c');
7777
});
78-
79-
test('should drop all `undefined` values', () => {
80-
const spanA = new SentrySpan({ traceId: 'a', spanId: 'b' });
81-
const spanB = new SentrySpan({
82-
parentSpanId: spanA.spanContext().spanId,
83-
spanId: 'd',
84-
traceId: 'c',
85-
});
86-
const serialized = spanToJSON(spanB);
87-
expect(serialized).toStrictEqual({
88-
start_timestamp: expect.any(Number),
89-
parent_span_id: 'b',
90-
span_id: 'd',
91-
trace_id: 'c',
92-
origin: 'manual',
93-
data: {
94-
'sentry.origin': 'manual',
95-
},
96-
});
97-
});
9878
});
9979

10080
describe('end', () => {

0 commit comments

Comments
 (0)