Skip to content

feat: add utilities for sorting tasks by their start time #53

feat: add utilities for sorting tasks by their start time

feat: add utilities for sorting tasks by their start time #53

Triggered via push December 7, 2024 18:43
Status Failure
Total duration 46s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/utils/__tests__/task-sort-utils.ts > Sorting tasks > should place invalid starts at the end: src/utils/__tests__/task-sort-utils.ts#L33
AssertionError: expected [ { times: { …(1) } }, …(3) ] to deeply equal [ { times: { …(1) } }, …(3) ] Compared values serialize to the same structure. Printing internal object structure without calling `toJSON` instead. - Expected + Received Array [ Object { "times": Object { "start": DateTime { "_zone": SystemZone {}, "c": Object { "day": 7, "hour": 9, "millisecond": 0, "minute": 0, "month": 12, "second": 0, "year": 2024, }, "invalid": null, "isLuxonDateTime": true, "loc": Locale { "eraCache": Object {}, "fastNumbersCached": null, "intl": "en-US", "locale": "en-US", "meridiemCache": null, "monthsCache": Object { "format": Object {}, "standalone": Object {}, }, "numberingSystem": null, "outputCalendar": null, "specifiedLocale": null, "weekSettings": null, "weekdaysCache": Object { "format": Object {}, "standalone": Object {}, }, }, "localWeekData": null, "o": -0, "ts": 1733562000000, "weekData": null, }, }, }, Object { "times": Object { "start": DateTime { "_zone": SystemZone {}, "c": Object { "day": 7, "hour": 13, "millisecond": 0, "minute": 0, "month": 12, "second": 0, "year": 2024, }, "invalid": null, "isLuxonDateTime": true, "loc": Locale { "eraCache": Object {}, "fastNumbersCached": null, "intl": "en-US", "locale": "en-US", "meridiemCache": null, "monthsCache": Object { "format": Object {}, "standalone": Object {}, }, "numberingSystem": null, "outputCalendar": null, "specifiedLocale": null, "weekSettings": null, "weekdaysCache": Object { "format": Object {}, "standalone": Object {}, }, }, "localWeekData": null, "o": -0, "ts": 1733576400000, "weekData": null, }, }, }, Object { "times": Object { "start": DateTime { "_zone": SystemZone {}, "c": Object { "day": 7, "hour": 20, "millisecond": 0, "minute": 0, "month": 12, "second": 0, "year": 2024, }, "invalid": null, "isLuxonDateTime": true, "loc": Locale { "eraCache": Object {}, "fastNumbersCached": null, "intl": "en-US", "locale": "en-US", "meridiemCache": null, "monthsCache": Object { "format": Object {}, "standalone": Object {}, }, "numberingSystem": null, "outputCalendar": null, "specifiedLocale": null, "weekSettings": null, "weekdaysCache": Object { "format": Object {}, "standalone": Object {}, }, }, "localWeekData": null, "o": -0, "ts": 1733601600000, "weekData": null, }, }, }, Object { "times": Object { "start": DateTime { "_zone": SystemZone {}, "c": null, "invalid": Invalid { "explanation": null, "reason": "uh-oh!", }, "isLuxonDateTime": true, "loc": Locale { "eraCache": Object {}, "fastNumbersCached": null, "intl": "en-US", "locale": "en-US", "meridiemCache": null, "monthsCache": Object
Build
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636