This commit is contained in:
Ulf Gebhardt 2022-11-18 10:53:22 +01:00
parent e32054acb8
commit ba72956536
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -13,13 +13,13 @@ module.exports = {
'!**/plugins/**',
'!**/.eslintrc.js',
'!**/.prettierrc.js',
'!**/nuxt.config.js'
'!**/nuxt.config.js',
],
coverageReporters: ['lcov', 'text'],
setupFiles: ['<rootDir>/test/registerContext.js', '<rootDir>/test/testSetup.js'],
transform: {
'.*\\.(vue)$': 'vue-jest',
'^.+\\.js$': 'babel-jest'
'^.+\\.js$': 'babel-jest',
},
testMatch: ['**/?(*.)+(spec|test).js?(x)'],
modulePathIgnorePatterns: ['<rootDir>/build/'],
@ -27,11 +27,7 @@ module.exports = {
'\\.(svg)$': '<rootDir>/test/fileMock.js',
'\\.(css|less)$': 'identity-obj-proxy',
'^@/(.*)$': '<rootDir>/src/$1',
'^~/(.*)$': '<rootDir>/$1'
'^~/(.*)$': '<rootDir>/$1',
},
moduleFileExtensions: [
'js',
'json',
'vue'
]
moduleFileExtensions: ['js', 'json', 'vue'],
}