Rearrange mocks
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
jest.mock("../Contexts/UserContext");
|
||||
|
||||
import React from "react";
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
import {render, cleanup, screen, fireEvent, waitFor} from "@testing-library/react"
|
||||
jest.mock("../Contexts/UserContext");
|
||||
import { useUserContext, UserProvider } from "../Contexts/UserContext";
|
||||
import SignUpForm from './index';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user