mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Use long month date format (#26666)
GitOrigin-RevId: 8a52bca6e13087f43d14ed1caffb7709ccee4e02
This commit is contained in:
@@ -614,8 +614,13 @@ describe('<UserNotifications />', function () {
|
||||
unconfirmedUserData,
|
||||
signUpDate
|
||||
)
|
||||
const dateOptions: Intl.DateTimeFormatOptions = {
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
year: 'numeric',
|
||||
}
|
||||
expect(emailDeletionDate).to.equal(
|
||||
new Date('2025-09-03').toLocaleDateString()
|
||||
new Date('2025-09-03').toLocaleDateString(undefined, dateOptions)
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user