代码拉取完成,页面将自动刷新
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}']
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。