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(() => {

View File

@@ -27,6 +27,7 @@
"colord": "^2.9.3",
"date-fns-jalali": "^2.13.0-0",
"dayjs": "^1.11.9",
"dotenv": "^16.3.1",
"eslint": "8.36.0",
"formik": "^2.2.9",
"fs-extra": "^11.1.1",