Skip to content

Commit

Permalink
test: increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk committed Mar 27, 2024
1 parent 4a3046f commit b79411a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/test/common/noop-implementations/noop-span.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ describe('NonRecordingSpan', () => {
my_number_attribute: 123,
});

const linkContext = {
traceId: 'e4cda95b652f4a1592b449d5929fda1b',
spanId: '7e0c63257de34c92',
traceFlags: TraceFlags.SAMPLED,
};
span.addLink({ context: linkContext });
span.addLinks([{ context: linkContext }]);

span.addEvent('sent');
span.addEvent('sent', { id: '42', key: 'value' });

Expand Down

0 comments on commit b79411a

Please sign in to comment.