test: restore and fix unit tests

This commit is contained in:
woothu
2019-08-10 12:07:10 +02:00
parent f9a4949b56
commit 704e04f9f6
89 changed files with 55790 additions and 6 deletions
+2 -1
View File
@@ -8,8 +8,9 @@ module.exports = {
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.jsx?$': 'babel-jest'
'^.+\\.jsx?$': '<rootDir>/node_modules/babel-jest'
},
transformIgnorePatterns: ["/node_modules/(?!@coreui/icons)"],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},