加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 640 Bytes
一键复制 编辑 原始数据 按行查看 历史
周承秋 提交于 2024-03-26 09:45 . init
// Initiate all tests from root, but allow tests from each package root.
// Share as much config as possible to reduce duplication.
//
// Borrowing from here:
// https://github.com/facebook/jest/issues/3112#issuecomment-398581705
const base = require('./jest.config.base.js');
module.exports = {
...base,
// https://jestjs.io/docs/en/configuration#projects-array-string-projectconfig
projects: [
'<rootDir>/platform/*/jest.config.js',
'<rootDir>/extensions/*/jest.config.js',
//'<rootDir>/modes/*/jest.config.js' // Enable if any mode definitions start including tests
],
coverageDirectory: '<rootDir>/coverage/',
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化