Skip to content

Commit

Permalink
tmp2
Browse files Browse the repository at this point in the history
  • Loading branch information
R0Wi committed Nov 25, 2023
1 parent b837334 commit dc85c17
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 86 deletions.
15 changes: 12 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
// These modules will be transformed to commonjs modules
const ignorePatterns = [

// TODO :: make test working


"vue-material-design-icons",
"axios",
// "@nextcloud/axios"
]

module.exports = {
preset: '@vue/cli-plugin-unit-jest',
collectCoverage: true,
Expand All @@ -17,9 +28,7 @@ module.exports = {
"**/src/test/**/*.spec.js"
],
transformIgnorePatterns: [
"node_modules\/(?!(vue-material-design-icons)\/)",
//"node_modules/(?!@babel)"
'node_modules/(?!(' + ignorePatterns.join('|') + ')/)'
],
setupFilesAfterEnv: ['<rootDir>/src/test/setup-jest.js']
}

Loading

0 comments on commit dc85c17

Please sign in to comment.