Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Prev Previous commit
Next Next commit
test: wrong usage to increase coverage
Signed-off-by: naseemkullah <[email protected]>
  • Loading branch information
naseemkullah committed May 22, 2021
commit a0a187c9f27ebbcdd0c3f05475d5458eb5662484
2 changes: 2 additions & 0 deletions test/noop-implementations/noop-tracer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ describe('NoopTracer', () => {
};
const opts = { attributes: { foo: 'bar' } };

assert.strictEqual((tracer as any).startActiveSpan(name), undefined);

assert.strictEqual(tracer.startActiveSpan(name, fn), 1);

assert.strictEqual(tracer.startActiveSpan(name, opts, fn), 1);
Expand Down