Skip to content

adds condition of testing #5

adds condition of testing

adds condition of testing #5

Triggered via pull request August 27, 2024 18:22
Status Failure
Total duration 29s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/tests/unit/utils/formatTime.test.js > formatUtils.js > formatDate > formats a date string to "Month Day, Year" format: src/tests/unit/utils/formatTime.test.js#L8
AssertionError: expected 'August 15, 2024' to be 'August 14, 2024' // Object.is equality Expected: "August 14, 2024" Received: "August 15, 2024" ❯ src/tests/unit/utils/formatTime.test.js:8:32
src/tests/unit/utils/formatTime.test.js > formatUtils.js > formatTime > formats a time string to "Hour:Minute AM/PM" format: src/tests/unit/utils/formatTime.test.js#L20
AssertionError: expected '3:30 PM' to be '8:30 AM' // Object.is equality Expected: "8:30 AM" Received: "3:30 PM" ❯ src/tests/unit/utils/formatTime.test.js:20:32
src/tests/unit/utils/formatTime.test.js > formatUtils.js > formatTime > returns an empty string for an invalid time: src/tests/unit/utils/formatTime.test.js#L25
AssertionError: expected '11:15 PM' to be '4:15 PM' // Object.is equality Expected: "4:15 PM" Received: "11:15 PM" ❯ src/tests/unit/utils/formatTime.test.js:25:32
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/