1 Star 1 Fork 1

Mars/gitlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 492 Bytes
一键复制 编辑 原始数据 按行查看 历史
const fs = require('fs');
const IS_JH = require('./config/helpers/is_jh_env');
const baseConfig = require('./jest.config.base');
// TODO: Remove existsSync once jh has added jest.config.js
if (IS_JH && fs.existsSync('./jh/jest.config.js')) {
// We can't be explicit with eslint-disable rules because in JH it'll pass import/no-unresolved
// eslint-disable-next-line
module.exports = require('./jh/jest.config');
} else {
module.exports = {
...baseConfig('spec/frontend'),
};
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mars167/gitlab.git
git@gitee.com:mars167/gitlab.git
mars167
gitlab
gitlab
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385