Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Jan 3, 2024
1 parent adf2a76 commit f0c5553
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/tracing/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class Transaction extends SpanClass implements TransactionInterface {
* @inheritDoc
*/
public updateWithContext(transactionContext: TransactionContext): this {
// eslint-disable-next-line deprecation/deprecation
// eslint-disable-next-line deprecation/deprecation
super.updateWithContext(transactionContext);

this.name = transactionContext.name || '';
Expand Down
2 changes: 0 additions & 2 deletions packages/tracing/test/span.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ describe('Span', () => {
});
});

/* eslint-disable deprecation/deprecation */
describe('toContext and updateWithContext', () => {
test('toContext should return correct context', () => {
const originalContext = { traceId: 'a', spanId: 'b', sampled: false, description: 'test', op: 'op' };
Expand Down Expand Up @@ -552,7 +551,6 @@ describe('Span', () => {
expect(span.data).toStrictEqual({ data0: 'foo', data1: 'bar' });
});
});
/* eslint-enable deprecation/deprecation */

describe('getDynamicSamplingContext', () => {
beforeEach(() => {
Expand Down

0 comments on commit f0c5553

Please sign in to comment.