Clean up
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
jest.mock("../Contexts/UserContext");
|
jest.mock("../Contexts/UserContext");
|
||||||
|
|
||||||
import { BrowserRouter } from 'react-router-dom';
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
import {render, cleanup} from "@testing-library/react"
|
import { render, cleanup } from "@testing-library/react"
|
||||||
import FileUploadForm from './index';
|
import FileUploadForm from './index';
|
||||||
|
|
||||||
describe("File Upload Form", () => {
|
describe("File Upload Form", () => {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ 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 } from "@testing-library/react"
|
||||||
import SignInForm from './index';
|
import SignInForm from './index';
|
||||||
|
|
||||||
describe("Sign In Form", () => {
|
describe("Sign In Form", () => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
jest.mock("../Contexts/UserContext");
|
jest.mock("../Contexts/UserContext");
|
||||||
|
|
||||||
import { BrowserRouter } from 'react-router-dom';
|
import { BrowserRouter } from 'react-router-dom';
|
||||||
import {render, cleanup} from "@testing-library/react"
|
import { render, cleanup } from "@testing-library/react"
|
||||||
import SignUpForm from './index';
|
import SignUpForm from './index';
|
||||||
|
|
||||||
describe("Sign Up Form", () => {
|
describe("Sign Up Form", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user