diff --git a/static/js/components/dashboard/FinalExamCard.js b/static/js/components/dashboard/FinalExamCard.js index 7ccdae51ca..fecae47ab5 100644 --- a/static/js/components/dashboard/FinalExamCard.js +++ b/static/js/components/dashboard/FinalExamCard.js @@ -4,9 +4,7 @@ import React from "react" import Card from "@material-ui/core/Card" import CardContent from "@material-ui/core/CardContent" -import type { Profile } from "../../flow/profileTypes" import type { Program } from "../../flow/programTypes" -import type { UIState } from "../../reducers/ui" type Props = { program: Program diff --git a/static/js/components/dashboard/FinalExamCard_test.js b/static/js/components/dashboard/FinalExamCard_test.js index cc4bb014e2..61ea9a5f3e 100644 --- a/static/js/components/dashboard/FinalExamCard_test.js +++ b/static/js/components/dashboard/FinalExamCard_test.js @@ -11,17 +11,15 @@ import FinalExamCard from "./FinalExamCard" import { DASHBOARD_RESPONSE, USER_PROFILE_RESPONSE } from "../../test_constants" import { PEARSON_PROFILE_ABSENT } from "../../constants" import { INITIAL_UI_STATE } from "../../reducers/ui" -import { stringStrip, getEl } from "../../util/test_utils" +import { stringStrip } from "../../util/test_utils" import type { Program } from "../../flow/programTypes" describe("FinalExamCard", () => { - let sandbox let props const profile = { ...USER_PROFILE_RESPONSE, preferred_name: "Preferred Name" } beforeEach(() => { - sandbox = sinon.sandbox.create() const program: Program = (_.cloneDeep( DASHBOARD_RESPONSE.programs.find( program => program.exam_card_status !== undefined