Skip to content

Commit 22f9ce4

Browse files
CopilotStan2032
andcommitted
Session 214: Fix code review feedback — add date label, strengthen CPC terminology test
Co-authored-by: Stan2032 <68326386+Stan2032@users.noreply.github.com>
1 parent 905779e commit 22f9ce4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/LegalCaseTracker.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export default function LegalCaseTracker() {
304304
</span>
305305
{latestDate && (
306306
<span className="text-xs text-slate-400 hidden sm:inline flex-shrink-0">
307-
{latestDate}
307+
Latest: {latestDate}
308308
</span>
309309
)}
310310
{isExpanded ? (

src/test/LegalCaseTracker.test.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,5 +334,7 @@ describe('LegalCaseTracker', () => {
334334
// Should not contain "CPC" referring to the party (allow "CPC" in other contexts)
335335
expect(allText).not.toContain('"CPC"');
336336
expect(allText).not.toContain('Communist Party of China');
337+
// Positive: "CCP" should be used where the party is referenced
338+
expect(allText).toContain('CCP');
337339
});
338340
});

0 commit comments

Comments
 (0)