1 Star 0 Fork 0

fly_ant / vue.draggable.next

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 767 Bytes
一键复制 编辑 原始数据 按行查看 历史
David 提交于 2020-10-25 00:30 . Improving modularization
module.exports = {
moduleFileExtensions: [
"js",
"jsx",
"json",
"vue"
],
transform: {
"^.+\\.vue$": "vue-jest",
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
"^.+\\.jsx?$": "babel-jest"
},
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1"
},
snapshotSerializers: [
"jest-serializer-vue"
],
testMatch: [
"**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
],
testURL: "http://localhost/",
collectCoverageFrom: [
"<rootDir>/src/vuedraggable.js",
"<rootDir>/src/util/*.js",
"<rootDir>/src/core/*.js"
],
// testEnvironment: "node",
transformIgnorePatterns: [
"node_modules/(?!(babel-jest|jest-vue-preprocessor|vue)/)"
],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/364346509/vue.draggable.next.git
git@gitee.com:364346509/vue.draggable.next.git
364346509
vue.draggable.next
vue.draggable.next
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891