1 Star 0 Fork 0

星辰软件/metabase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.tz.unit.conf.json 1.34 KB
一键复制 编辑 原始数据 按行查看 历史
{
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/frontend/test/__mocks__/styleMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/frontend/test/__mocks__/fileMock.js",
"^cljs/(.*)$": "<rootDir>/target/cljs_dev/$1",
"^d3-(.*)$": "<rootDir>/node_modules/d3-$1/dist/d3-$1",
"react-markdown": "<rootDir>/node_modules/react-markdown/react-markdown.min.js",
"\\.svg\\?(component|source)": "<rootDir>/frontend/test/__mocks__/svgMock.jsx"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!rehype-external-links|d3/)"
],
"testMatch": ["<rootDir>/frontend/**/*.tz.unit.spec.{js,ts,jsx,tsx}"],
"modulePaths": [
"<rootDir>/frontend/test",
"<rootDir>/frontend/src",
"<rootDir>/enterprise/frontend/src"
],
"setupFiles": [
"<rootDir>/frontend/test/jest-setup.js",
"<rootDir>/frontend/test/metabase-bootstrap.js",
"<rootDir>/frontend/test/register-visualizations.js"
],
"globals": {
"ace": {},
"ga": {}
},
"coverageDirectory": "./",
"coverageReporters": ["text", "json-summary"],
"collectCoverageFrom": ["frontend/src/**/*.{js,ts,jsx,tsx}"],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/frontend/src/metabase/visualizations/lib/errors.js"
],
"testEnvironment": "jest-environment-jsdom",
"testTimeout": 30000
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Clojure
1
https://gitee.com/starts_3/metabase.git
git@gitee.com:starts_3/metabase.git
starts_3
metabase
metabase
master

搜索帮助