refactor(server): use .toSorted (#10904)

This commit is contained in:
Jason Rasmussen
2024-07-06 10:32:38 -04:00
committed by GitHub
parent 01706ccf5c
commit 59cdbdc492
4 changed files with 6 additions and 7 deletions

View File

@@ -202,7 +202,7 @@ describe(StorageRepository.name, () => {
.filter((entry) => entry[1])
.map(([file]) => file);
expect(actual.sort()).toEqual(expected.sort());
expect(actual.toSorted()).toEqual(expected.toSorted());
});
}
});