diff --git a/src/components/common/DateTimePickers/DateTimeFieldPair.test.tsx b/src/components/common/DateTimePickers/DateTimeFieldPair.test.tsx
index 367a45543..8cec59608 100644
--- a/src/components/common/DateTimePickers/DateTimeFieldPair.test.tsx
+++ b/src/components/common/DateTimePickers/DateTimeFieldPair.test.tsx
@@ -51,7 +51,7 @@ describe('DateTimeFieldPair', () => {
const { getByRole } = render();
expect(getByRole('textbox', { name: 'Date' })).toHaveValue('1/2/2024');
- expect(getByRole('textbox', { name: 'Time' })).toHaveValue('3:04\u202fAM');
+ expect(getByRole('textbox', { name: 'Time' })).toHaveValue('3:04 AM');
});
it('changes the date to today when the date is cleared', () => {
diff --git a/src/components/common/DateTimePickers/DesktopTimeField.test.tsx b/src/components/common/DateTimePickers/DesktopTimeField.test.tsx
index 714e7a07f..2b58577fe 100644
--- a/src/components/common/DateTimePickers/DesktopTimeField.test.tsx
+++ b/src/components/common/DateTimePickers/DesktopTimeField.test.tsx
@@ -43,7 +43,7 @@ describe('DesktopTimeField', () => {
it('the formatted value', () => {
const { getByRole } = render();
- expect(getByRole('textbox')).toHaveValue('3:04\u202fAM');
+ expect(getByRole('textbox')).toHaveValue('3:04 AM');
});
it('clears when the new value is null', () => {
@@ -57,14 +57,14 @@ describe('DesktopTimeField', () => {
const { getByRole, rerender } = render();
rerender();
- expect(getByRole('textbox')).toHaveValue('3:04\u202fAM');
+ expect(getByRole('textbox')).toHaveValue('3:04 AM');
});
it('updates to the formatted new value', () => {
const { getByRole, rerender } = render();
rerender();
- expect(getByRole('textbox')).toHaveValue('12:04\u202fPM');
+ expect(getByRole('textbox')).toHaveValue('12:04 PM');
});
});
diff --git a/src/lib/intlFormat.test.ts b/src/lib/intlFormat.test.ts
index febf4223f..19d528c0d 100644
--- a/src/lib/intlFormat.test.ts
+++ b/src/lib/intlFormat.test.ts
@@ -253,7 +253,7 @@ describe('intlFormat', () => {
locale,
);
- expect(date.trim()).toBe('Jan 16, 2024, 6:34\u202fPM UTC');
+ expect(date.trim()).toBe('Jan 16, 2024, 6:34 PM UTC');
});
it('returns null if month is null', () => {