Fix broken unit test after translation was added (#14329)

1-line fix, test is wrong since Lingui translations have been corrected
now
This commit is contained in:
Félix Malfait
2025-09-05 17:53:00 +02:00
committed by GitHub
parent 9445256eee
commit 4c4811dca7
@@ -258,7 +258,7 @@ describe('French locale tests', () => {
it('should format very recent dates as "now" in French', () => {
const pastDate = '2023-12-31T23:59:45.000Z'; // 15 seconds ago
const result = beautifyPastDateRelativeToNow(pastDate, fr);
expect(result).toBe('now'); // Lingui translation (should be "maintenant" but test setup uses English)
expect(result).toBe('maintenant'); // French for "now"
});
it('should format 30 seconds ago in French', () => {