CFE-16 fixed bug .env.local testing

This commit is contained in:
AmirHossein Mahmoodi
2023-09-26 11:02:36 +03:30
parent ae009ad616
commit 91fcb10c79
2 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
import '@testing-library/jest-dom'
import {server} from "./mocks/server";
require('dotenv').config({path: './.env.local'});
jest.mock('next/router', () => jest.requireActual('next-router-mock'))
beforeAll(() => {