Fix tests

This commit is contained in:
Adria Navarro 2024-05-21 16:11:36 +02:00
parent 53605ec8ed
commit a55f975489
1 changed files with 4 additions and 0 deletions

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 },
]))
})
})