2 Star 0 Fork 0

bingclouds/hue-release-4.10.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
bingclouds 提交于 2024-06-21 13:15 . first commit
module.exports = {
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'vue'],
transform: {
'^.+\\.(js|ts)$': 'babel-jest',
'^.+\\.vue$': 'vue-jest'
},
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
'^\\./desktop/core/src/desktop/js/(.*)$': '<rootDir>/desktop/core/src/desktop/js/$1'
},
moduleDirectories: ['node_modules', 'desktop/core/src/desktop/js'],
modulePaths: ['desktop/core/src/desktop/js'],
testMatch: ['<rootDir>/desktop/core/src/desktop/js/**/*.test.(js|jsx|ts|tsx)'],
testEnvironment: 'jsdom',
testURL: 'https://www.gethue.com/hue',
setupFilesAfterEnv: ['<rootDir>/desktop/core/src/desktop/js/jest/jest.init.js'],
watchPathIgnorePatterns: ['<rootDir>/desktop/core/src/desktop/static'],
testPathIgnorePatterns: [
'<rootDir>/desktop/core/src/desktop/js/parse/sql/ksql/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/elasticsearch/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/phoenix/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/druid/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/presto/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/calcite/test',
'<rootDir>/desktop/core/src/desktop/js/parse/sql/flink/test'
],
collectCoverageFrom: ['<rootDir>/desktop/core/src/desktop/js/**/*.{js,jsx,vue}']
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bingclouds/hue-release-4.10.0.git
[email protected]:bingclouds/hue-release-4.10.0.git
bingclouds
hue-release-4.10.0
hue-release-4.10.0
master

搜索帮助