1
0
Fork 0
mirror of synced 2024-08-23 05:51:29 +12:00

Fix tests

This commit is contained in:
Adria Navarro 2024-05-21 16:11:36 +02:00
parent 53605ec8ed
commit a55f975489

View file

@ -1067,6 +1067,7 @@ describe.each([
sort: "time",
sortOrder: SortOrder.ASCENDING,
}).toMatchExactly([
{ timeid: NULL_TIME__ID },
{ time: "00:00:00" },
{ time: "10:00:00" },
{ time: "10:45:00" },
@ -1085,6 +1086,7 @@ describe.each([
{ time: "10:45:00" },
{ time: "10:00:00" },
{ time: "00:00:00" },
{ timeid: NULL_TIME__ID },
]))
describe("sortType STRING", () => {
@ -1095,6 +1097,7 @@ describe.each([
sortType: SortType.STRING,
sortOrder: SortOrder.ASCENDING,
}).toMatchExactly([
{ timeid: NULL_TIME__ID },
{ time: "00:00:00" },
{ time: "10:00:00" },
{ time: "10:45:00" },
@ -1114,6 +1117,7 @@ describe.each([
{ time: "10:45:00" },
{ time: "10:00:00" },
{ time: "00:00:00" },
{ timeid: NULL_TIME__ID },
]))
})
})