Skip to content

Commit 4523482

Browse files
committed
✅ update tests
1 parent 1dfe4df commit 4523482

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

static/app/components/events/interfaces/performance/spanEvidenceKeyValueList.spec.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,8 @@ describe('SpanEvidenceKeyValueList', () => {
203203
event.occurrence = {
204204
...event.occurrence,
205205
evidenceData: {
206-
pattern_size: 2,
207-
pattern_span_ids: ['aaa', 'bbb'],
208-
num_pattern_repetitions: 4,
206+
patternSize: 2,
207+
patternSpanIds: ['aaa', 'bbb'],
209208
},
210209
} as EventTransaction['occurrence'];
211210

@@ -256,13 +255,7 @@ describe('SpanEvidenceKeyValueList', () => {
256255
expect(screen.getByRole('cell', {name: 'Pattern Span IDs'})).toBeInTheDocument();
257256
expect(
258257
screen.getByTestId('span-evidence-key-value-list.pattern-span-i-ds')
259-
).toHaveTextContent('aaabbb');
260-
expect(
261-
screen.getByRole('cell', {name: 'Number of Repetitions'})
262-
).toBeInTheDocument();
263-
expect(
264-
screen.getByTestId('span-evidence-key-value-list.number-of-repetitions')
265-
).toHaveTextContent('4');
258+
).toHaveTextContent('aaa, bbb');
266259
});
267260
});
268261

0 commit comments

Comments
 (0)