Update imports
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
jest.mock("../Contexts/UserContext");
|
jest.mock("../Contexts/UserContext");
|
||||||
jest.mock("../Contexts/UserContext");
|
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import { BrowserRouter } from 'react-router-dom';
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
import {render, cleanup, screen, fireEvent, waitFor} from "@testing-library/react"
|
import {render, cleanup} from "@testing-library/react"
|
||||||
import { useUserContext, UserProvider } from "../Contexts/UserContext";
|
|
||||||
import FileUploadForm from './index';
|
import FileUploadForm from './index';
|
||||||
|
|
||||||
describe("File Upload Form", () => {
|
describe("File Upload Form", () => {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
|
jest.mock("../Contexts/UserContext");
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { BrowserRouter } from 'react-router-dom';
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
import {render, cleanup, screen, fireEvent, waitFor} from "@testing-library/react"
|
import {render, cleanup, screen, fireEvent, waitFor} from "@testing-library/react"
|
||||||
jest.mock("../Contexts/UserContext");
|
|
||||||
|
|
||||||
import { useUserContext, UserProvider } from "../Contexts/UserContext";
|
|
||||||
import SignInForm from './index';
|
import SignInForm from './index';
|
||||||
|
|
||||||
describe("Sign In Form", () => {
|
describe("Sign In Form", () => {
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
jest.mock("../Contexts/UserContext");
|
jest.mock("../Contexts/UserContext");
|
||||||
|
|
||||||
import React from "react";
|
|
||||||
import { BrowserRouter } from 'react-router-dom';
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
import {render, cleanup, screen, fireEvent, waitFor} from "@testing-library/react"
|
import {render, cleanup} from "@testing-library/react"
|
||||||
import { useUserContext, UserProvider } from "../Contexts/UserContext";
|
|
||||||
import SignUpForm from './index';
|
import SignUpForm from './index';
|
||||||
|
|
||||||
describe("Sign Up Form", () => {
|
describe("Sign Up Form", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user