mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
30 lines
715 B
JavaScript
30 lines
715 B
JavaScript
module.exports = {
|
|
verbose: true,
|
|
collectCoverageFrom: [
|
|
"**/*.{js,vue}",
|
|
"!**/node_modules/**",
|
|
"!**/?(*.)+(spec|test).js?(x)"
|
|
],
|
|
moduleFileExtensions: [
|
|
"js",
|
|
//'jsx',
|
|
"json",
|
|
"vue"
|
|
],
|
|
coverageReporters: ["lcov"],
|
|
moduleNameMapper: {
|
|
"^@/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
transform: {
|
|
"^.+\\.vue$": "vue-jest",
|
|
// '.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
|
"^.+\\.(js|jsx)?$": "babel-jest"
|
|
},
|
|
//setupFiles: [
|
|
// "<rootDir>/test/registerContext.js"
|
|
//],
|
|
testMatch: ["**/?(*.)+(spec|test).js?(x)"],
|
|
// snapshotSerializers: ['jest-serializer-vue'],
|
|
transformIgnorePatterns: ["<rootDir>/node_modules/"]
|
|
};
|