1 Star 0 Fork 0

Robin/micro-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
maguohua1 提交于 2021-07-09 16:54 +08:00 . feat: publish of v0.0.1
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
module.exports = {
clearMocks: true,
coverageDirectory: 'coverage',
coverageReporters: [
'json',
'text',
'lcov',
'clover',
'html'
],
moduleFileExtensions: [
'js',
'json',
'jsx',
'ts',
'tsx'
],
transformIgnorePatterns: [
'/node_modules/',
],
testPathIgnorePatterns: [
'/examples/',
'/scripts/',
],
coveragePathIgnorePatterns: [
'/scripts/',
'/__tests__/',
],
transform: {
'^.+\\.jsx?$': 'babel-jest',
'^.+\\.tsx?$': 'ts-jest'
},
rootDir: __dirname,
testMatch: [
'<rootDir>/__tests__/**/*.test.[jt]s?(x)'
],
globals: {
__DEV__: true,
'ts-jest': {
tsconfig: {
target: 'es5',
noUnusedLocals: true,
strictNullChecks: true,
noUnusedParameters: true,
experimentalDecorators: true,
allowSyntheticDefaultImports: true
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/JasonRobin/micro-app.git
[email protected]:JasonRobin/micro-app.git
JasonRobin
micro-app
micro-app
master

搜索帮助