Skip to content

Merge pull request #885 from InseeFrLab:remove-moment #1102

Merge pull request #885 from InseeFrLab:remove-moment

Merge pull request #885 from InseeFrLab:remove-moment #1102

Triggered via push November 25, 2024 14:29
Status Failure
Total duration 1m 45s
Artifacts

ci.yaml

on: push
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.