We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6453d88 commit b51915cCopy full SHA for b51915c
packages/core/test/lib/utils/traceData.test.ts
@@ -24,9 +24,13 @@ const mockedScope = {
24
25
describe('getTraceData', () => {
26
beforeEach(() => {
27
- jest.clearAllMocks();
28
jest.spyOn(SentryCoreExports, 'isEnabled').mockReturnValue(true);
29
});
+
30
+ afterEach(() => {
31
+ jest.clearAllMocks();
32
+ });
33
34
it('returns the tracing data from the span, if a span is available', () => {
35
{
36
jest.spyOn(SentryCoreTracing, 'getDynamicSamplingContextFromSpan').mockReturnValueOnce({
0 commit comments