Skip to content

Commit

Permalink
Fix: fixed testing for apiFunction getTotalEntries
Browse files Browse the repository at this point in the history
  • Loading branch information
alexappleget committed Nov 18, 2024
1 parent 389ebc2 commit f6944f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/apiFunctions.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
resetPassword,
resetRecoveredPassword,
updateUserEmail,
getAllLeagueEntries
getTotalEntries
} from './apiFunctions';
import { IUser } from './apiFunctions.interface';
import { account, databases, ID } from './config';
Expand Down Expand Up @@ -550,7 +550,7 @@ describe('apiFunctions', () => {

const leagues = ['league1', 'league2'];

const result = await getAllLeagueEntries({ leagues });
const result = await getTotalEntries({ leagues });

expect(result).toEqual([
{
Expand Down

0 comments on commit f6944f2

Please sign in to comment.