Skip to content

Commit

Permalink
test(api): fix flacky test
Browse files Browse the repository at this point in the history
  • Loading branch information
hbriese committed Jul 26, 2024
1 parent 944f2bb commit eb8ba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/feat/transfers/transfers.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe(TransfersService.name, () => {
describe('select', () => {
it('returns transfers', () =>
asUser(user1, async () => {
const transfers = await Promise.all([insert(), insert()]);
const transfers = (await Promise.all([insert(), insert()])).sort();

expect((await service.select(account1.id, {})).map((t) => t.id)).toEqual(transfers);
}));
Expand Down

0 comments on commit eb8ba72

Please sign in to comment.