Skip to content

Commit 616159c

Browse files
🛠️ apply pre-commit fixes
1 parent c32c82b commit 616159c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections/aiContentDetection.spec.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ describe('tryParsePythonDict', () => {
131131
describe('preprocessInlineXmlTags', () => {
132132
it('replaces inline XML tags with italic markdown', () => {
133133
const text = 'Before <thinking>inner thought</thinking> After';
134-
expect(preprocessInlineXmlTags(text)).toBe(
135-
'Before *thinking: inner thought* After'
136-
);
134+
expect(preprocessInlineXmlTags(text)).toBe('Before *thinking: inner thought* After');
137135
});
138136

139137
it('leaves block-level tags at start of text untouched', () => {
@@ -161,9 +159,7 @@ describe('preprocessInlineXmlTags', () => {
161159

162160
it('strips nested XML tags from inline tag content', () => {
163161
const text = 'Text <outer>before <inner>nested</inner> after</outer> more';
164-
expect(preprocessInlineXmlTags(text)).toBe(
165-
'Text *outer: before nested after* more'
166-
);
162+
expect(preprocessInlineXmlTags(text)).toBe('Text *outer: before nested after* more');
167163
});
168164
});
169165

@@ -220,8 +216,7 @@ describe('parseXmlTagSegments', () => {
220216
{
221217
type: 'xml-tag',
222218
tagName: 'bug_report',
223-
content:
224-
'\n<location>file.ts</location>\n<description>a bug</description>\n',
219+
content: '\n<location>file.ts</location>\n<description>a bug</description>\n',
225220
},
226221
]);
227222
});

0 commit comments

Comments
 (0)