Skip to content

Refactor: Remove Moment.js dependency and replace with Intl.DateTime #1101

Refactor: Remove Moment.js dependency and replace with Intl.DateTime

Refactor: Remove Moment.js dependency and replace with Intl.DateTime #1101

Triggered via pull request November 25, 2024 14:27
Status Failure
Total duration 55s
Artifacts

ci.yaml

on: pull_request
test_web
43s
test_web
test_helm-chart
9s
test_helm-chart
prepare_release
0s
prepare_release
publish_web_docker_image
0s
publish_web_docker_image
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/ui/shared/formattedDate/getFormattedDate.test.ts > getFormattedDate > formats date within the same year: src/ui/shared/formattedDate/getFormattedDate.test.ts#L9
AssertionError: expected 'Saturday, June 15 at 2:20 PM' to be 'Saturday, June 15 at 3:20 PM' // Object.is equality Expected: "Saturday, June 15 at 3:20 PM" Received: "Saturday, June 15 at 2:20 PM" ❯ src/ui/shared/formattedDate/getFormattedDate.test.ts:9:31
src/ui/shared/formattedDate/getFormattedDate.test.ts > getFormattedDate > formats date in a different year: src/ui/shared/formattedDate/getFormattedDate.test.ts#L16
AssertionError: expected 'Saturday, November 25, 2023 at 2:20 PM' to be 'Saturday, November 25, 2023 at 3:20 PM' // Object.is equality Expected: "Saturday, November 25, 2023 at 3:20 PM" Received: "Saturday, November 25, 2023 at 2:20 PM" ❯ src/ui/shared/formattedDate/getFormattedDate.test.ts:16:31
src/ui/shared/formattedDate/getFormattedDate.test.ts > getFormattedDate > respects localization (fr): src/ui/shared/formattedDate/getFormattedDate.test.ts#L25
AssertionError: expected 'lundi 25 novembre à 14:20' to be 'lundi 25 novembre à 15:20' // Object.is equality Expected: "lundi 25 novembre à 15:20" Received: "lundi 25 novembre à 14:20" ❯ src/ui/shared/formattedDate/getFormattedDate.test.ts:25:31
test_web
Process completed with exit code 1.