Skip to content

Commit bbb739a

Browse files
FE: Fix dateTimeHelpers.spec.ts linter error (#4090)
Co-authored-by: Roman Zabaluev <[email protected]>
1 parent 145bf07 commit bbb739a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kafka-ui-react-app/src/lib/hooks/__tests__/dateTimeHelpers.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ describe('dateTimeHelpers', () => {
1313
it('should output the correct date', () => {
1414
const date = new Date();
1515
expect(formatTimestamp(date)).toBe(
16-
date.toLocaleString([], { hour12: false })
16+
date.toLocaleString([], { hourCycle: 'h23' })
1717
);
1818
expect(formatTimestamp(date.getTime())).toBe(
19-
date.toLocaleString([], { hour12: false })
19+
date.toLocaleString([], { hourCycle: 'h23' })
2020
);
2121
});
2222
});

0 commit comments

Comments
 (0)