diff --git a/utils/utils.test.ts b/utils/utils.test.ts index c1633b16..593b5185 100644 --- a/utils/utils.test.ts +++ b/utils/utils.test.ts @@ -214,7 +214,7 @@ describe('utils', () => { expect(result).toStrictEqual([mockLeague]); }); it('should return an empty array if the user has no leagues', async () => { - const result = await getUserLeagues(['']); + const result = await getUserLeagues([]); expect(getCurrentLeague).toHaveBeenCalledTimes(0); expect(result).toStrictEqual([]); });