Skip to content

Commit

Permalink
refactor: removed not using codes
Browse files Browse the repository at this point in the history
  • Loading branch information
yosipy committed Sep 1, 2024
1 parent 8e2d21f commit 89a1161
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/ReactDropzoneVV.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { afterEach, beforeEach, describe, expect, test } from "vitest"
import { render, fireEvent, act, cleanup } from "@testing-library/react"
import userEvent from "@testing-library/user-event"
import { afterEach, describe, expect, test } from "vitest"
import { render, fireEvent, cleanup } from "@testing-library/react"
import { FC } from "react"
import { OnSelectProps, ReactDropzoneVV } from "./ReactDropzoneVV"
import { useReactDropzoneVV } from "./useReactDropzoneVV"
Expand All @@ -9,7 +8,6 @@ import { RejectedClassifiedFile } from "./types"
let acceptedFiles: File[]
let fileRejections: RejectedClassifiedFile[]

Check failure on line 9 in lib/ReactDropzoneVV.test.tsx

View workflow job for this annotation

GitHub Actions / TS Test

'fileRejections' is assigned a value but never used

// Mock a file
const file = new File(["dummy content"], "example.png", { type: "image/png" })

type Props = {
Expand Down

0 comments on commit 89a1161

Please sign in to comment.