1 Star 0 Fork 0

Single_zh/AgentGPT

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
jest.config.cjs 788 Bytes
Copy Edit Raw Blame History
awtkns authored 2023-05-10 03:01 +08:00 . :recycle:Migrate to monorepo
const nextJest = require("next/jest");
const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: "./",
});
// Add any custom config to be passed to Jest
/** @type {import('jest').Config} */
const customJestConfig = {
// Add more setup options before each test is run
// setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
moduleDirectories: ["node_modules", "<rootDir>/"],
testEnvironment: "jest-environment-jsdom",
};
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
module.exports = createJestConfig(customJestConfig);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/single_zh/AgentGPT.git
git@gitee.com:single_zh/AgentGPT.git
single_zh
AgentGPT
AgentGPT
1002-update-the-hero-section-title-and-add-gradient

Search