Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import { render, waitFor } from '@testing-library/react';
import ClassDetailsPage from './ClassDetailsPage';
import type { ClassRow, SchoolDetailsData } from './SchoolClass';
Expand All @@ -21,7 +20,9 @@ jest.mock('../../../utility/logger', () => ({
error: jest.fn(),
}));

const mockSchoolStudents = jest.fn(() => <div data-testid="school-students" />);
const mockSchoolStudents = jest.fn((_props: unknown) => (
<div data-testid="school-students" />
));

jest.mock('./SchoolStudents', () => ({
__esModule: true,
Expand Down
3 changes: 0 additions & 3 deletions src/services/api/ServiceApi.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import User from '../../models/User';
import Course from '../../models/Course';
import Lesson from '../../models/Lesson';
import { StudentLessonResult } from '../../common/courseConstants';
Expand Down Expand Up @@ -31,7 +30,6 @@ import {
CampaignListingStatus,
} from '../../common/constants';
import { AvatarObj } from '../../components/animation/Avatar';
import { DocumentData } from 'firebase/firestore';
import {
RoleType,
CreateSchoolNoteInput,
Expand All @@ -48,7 +46,6 @@ import {
UserStickerProgress,
} from '../../interface/modelInterfaces';
import { Database, Json } from '../database';
import logger from '../../utility/logger';

export interface LeaderboardInfo {
weekly: StudentLeaderboardInfo[];
Expand Down
Loading
Loading