Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Feb 4, 2021
1 parent 566059f commit 4f90ea7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions static/js/components/dashboard/FinalExamCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions static/js/components/dashboard/FinalExamCard_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f90ea7

Please sign in to comment.