CF-11 testing login page
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import '@testing-library/jest-dom'
|
||||
import {server} from "./mocks/server";
|
||||
import mockRouter from 'next-router-mock'
|
||||
|
||||
require('dotenv').config({path: './.env.local'});
|
||||
|
||||
@@ -10,6 +11,8 @@ beforeAll(() => {
|
||||
})
|
||||
beforeEach(() => {
|
||||
localStorage.clear();
|
||||
mockRouter.query = {}
|
||||
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user