1 Star 0 Fork 30

追梦大叔 / MP_WeiXin_ChatGPT

forked from CyrusZhou / MP_WeiXin_ChatGPT 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
// jest.config.js
const dotenv = require('dotenv');
const envFile = process.env.NODE_ENV ? `.env.${process.env.NODE_ENV}` : '.env';
const envConfig = dotenv.config({ path: envFile }).parsed;
module.exports = {
testEnvironment: 'node',
setupFilesAfterEnv: ['./jest.setup.js'],
// other Jest config options...
transform: {
'^.+\\.tsx?$': 'ts-jest',
'^.+\\.ts?$': 'ts-jest',
"^.+\\.js$": "babel-jest"
},
globals: {
"ts-jest": {
tsconfig: "tsconfig.json",
diagnostics: false,
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/zmds-IT/MP_WeiXin_ChatGPT.git
git@gitee.com:zmds-IT/MP_WeiXin_ChatGPT.git
zmds-IT
MP_WeiXin_ChatGPT
MP_WeiXin_ChatGPT
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891