2 Star 0 Fork 0

beants/next-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 660 Bytes
一键复制 编辑 原始数据 按行查看 历史
beants 提交于 2024-08-09 19:29 . 添加Ui一个页面
module.exports = {
testEnvironment: "jsdom",
transform: {
"^.+\.vue$": "@vue/vue3-jest",
"^.+\js$": "babel-jest",
},
testRegex: "(/__test__/.*|(\.|/)(test|spec))\.(js|ts)$",
moduleFileExtensions: ["vue", "js"],
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1",
},
coveragePathIgnorePatterns: ["/node_modules/", "/tests/"],
coverageReporters: ["text", "json-summary"],
// Fix in order for vue-test-utils to work with Jest 29
// https://test-utils.vuejs.org/migration/#test-runners-upgrade-notes
testEnvironmentOptions: {
customExportConditions: ["node", "node-addons"],
},
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/beantsfly/next-admin.git
[email protected]:beantsfly/next-admin.git
beantsfly
next-admin
next-admin
master

搜索帮助