We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ba0ef commit 5417dedCopy full SHA for 5417ded
packages/tracing/test/utils.test.ts
@@ -4,11 +4,11 @@ describe('hasTracingEnabled', () => {
4
const tracesSampler = () => 1;
5
const tracesSampleRate = 1;
6
it.each([
7
- ['No options', undefined, false],
8
- ['No tracesSampler or tracesSampleRate', {}, false],
9
- ['With tracesSampler', { tracesSampler }, true],
10
- ['With tracesSampleRate', { tracesSampleRate }, true],
11
- ['With tracesSampler and tracesSampleRate', { tracesSampler, tracesSampleRate }, true],
+ ['no options', undefined, false],
+ ['no tracesSampler or tracesSampleRate', {}, false],
+ ['with tracesSampler', { tracesSampler }, true],
+ ['with tracesSampleRate', { tracesSampleRate }, true],
+ ['with tracesSampler and tracesSampleRate', { tracesSampler, tracesSampleRate }, true],
12
])(
13
'%s',
14
(_: string, input: Parameters<typeof hasTracingEnabled>[0], output: ReturnType<typeof hasTracingEnabled>) => {
0 commit comments