1 Star 0 Fork 2

eric_wen/element3

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
jest.config.js 470 Bytes
Copy Edit Raw Blame History
崔效瑞 authored 2020-08-11 17:12 . test: change config for domain
module.exports = {
testEnvironment: 'jsdom',
roots: [
'<rootDir>/src',
'<rootDir>/packages',
'<rootDir>/test'
],
transform: {
'^.+\\.vue$': 'vue-jest',
'^.+\\js$': 'babel-jest'
},
moduleFileExtensions: ['vue', 'js', 'json', 'jsx', 'ts', 'tsx', 'node'],
testMatch: ['**/tests/**/?(*.)+(test).[jt]s?(x)', '**/__tests__/**/*.spec.js'],
moduleNameMapper: {
'^element-ui(.*)$': '<rootDir>$1',
'^main(.*)$': '<rootDir>/src$1'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/eric_wen/element3.git
git@gitee.com:eric_wen/element3.git
eric_wen
element3
element3
master

Search