Merge branch 'docs-header-fix' into 'main'
[ProtonMail-WebClient.git] / packages / docs-core / lib / Util / PlatformFriendlyFileNameDate.spec.ts
blob5b48001246adee5f6e24c1457caadb409f1cec57
1 import { getPlatformFriendlyDateForFileName } from './PlatformFriendlyFileNameDate'
3 describe('PlatformFriendlyFileNameDate', () => {
4   it('should return a date string with a platform friendly format', () => {
5     const result = getPlatformFriendlyDateForFileName()
7     expect(result).toMatch(/^\d{4}-\d{2}-\d{2} \d{2}\.\d{2}\.\d{2}$/)
8   })
9 })