mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-28 22:31:22 -05:00
Bump dependencies
- @aws-sdk/client-s3 & @aws-sdk/lib-storage 3.1132.0 - lucide-react 1.46.0 - mediabunny 1.56.2 - remeda 2.50.0 - magic-string 1.4.1 - @biomejs/biome 2.5.13 (add sort compare functions for new useArraySortCompare lint)
This commit is contained in:
@@ -174,8 +174,8 @@ describe("AvailabilityRepository.upsertOwnWeek", () => {
|
||||
...WINDOW,
|
||||
});
|
||||
|
||||
expect(weeks.map((week) => week.userId).sort()).toEqual(
|
||||
[users.id(1), users.id(2)].sort(),
|
||||
expect(weeks.map((week) => week.userId).sort((a, b) => a - b)).toEqual(
|
||||
[users.id(1), users.id(2)].sort((a, b) => a - b),
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -469,7 +469,7 @@ describe("AvailabilityRepository.findAllTeamEventsByUserIds", () => {
|
||||
events
|
||||
.filter((event) => event.userId === users.id(2))
|
||||
.map((e) => e.name)
|
||||
.sort(),
|
||||
.sort((a, b) => a.localeCompare(b)),
|
||||
).toEqual(["Selected only", "Whole team"]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user