Skip to content

Commit a672659

Browse files
committed
Fix frontend lint, tests
1 parent 4d87ac9 commit a672659

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/ProjectScreen/CreateProject.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { projectDuplicateCheck, uploadLiftAndGetWritingSystems } from "backend";
2525
import FileInputButton from "components/Buttons/FileInputButton";
2626
import LoadingDoneButton from "components/Buttons/LoadingDoneButton";
2727
import LanguagePicker from "components/LanguagePicker";
28+
import LexboxLogin from "components/Lexbox/LexboxLogin";
2829
import {
2930
asyncCreateProject,
3031
asyncFinishProject,
@@ -33,7 +34,6 @@ import { useAppDispatch } from "rootRedux/hooks";
3334
import theme from "types/theme";
3435
import { newWritingSystem } from "types/writingSystem";
3536
import { NormalizedTextField } from "utilities/fontComponents";
36-
import LexboxLogin from "components/Lexbox/LexboxLogin";
3737

3838
export enum CreateProjectTextId {
3939
Create = "createProject.create",

src/components/ProjectScreen/tests/CreateProject.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jest.mock("components/LanguagePicker", () => ({
3030
}));
3131

3232
jest.mock("backend", () => ({
33+
getAuthStatus: jest.fn(),
3334
projectDuplicateCheck: () => mockProjectDuplicateCheck(),
3435
uploadLiftAndGetWritingSystems: () => mockUploadLiftAndGetWritingSystems(),
3536
}));

0 commit comments

Comments
 (0)