diff --git a/src/components/App/App.test.js b/src/components/App/App.test.js index 67ca594..1068b72 100644 --- a/src/components/App/App.test.js +++ b/src/components/App/App.test.js @@ -1,4 +1,5 @@ jest.mock("../Contexts/UserContext"); +jest.mock("../Contexts/FileUploadContext"); import { render, screen, cleanup, waitForElementToBeRemoved, waitFor } from "@testing-library/react" import { setToken } from "../Contexts/UserContext"; diff --git a/src/components/App/__snapshots__/App.test.js.snap b/src/components/App/__snapshots__/App.test.js.snap index a8a7e6f..f4284ec 100644 --- a/src/components/App/__snapshots__/App.test.js.snap +++ b/src/components/App/__snapshots__/App.test.js.snap @@ -16,65 +16,69 @@ exports[`App Route / authenticated 1`] = ` > Upload file -
+ +- Drag and drop a file here or click -
- -- Drag and drop a file here or click -
- -- Drag and drop a file here or click -
- -