Skip to content

Commit

Permalink
Merge pull request #5737 from nextcloud/four!
Browse files Browse the repository at this point in the history
Update nextcloud-vue to version 4.0.0
  • Loading branch information
PVince81 authored Jun 10, 2021
2 parents 1e8f03a + 18df707 commit 1f66a7c
Show file tree
Hide file tree
Showing 5 changed files with 240 additions and 65 deletions.
15 changes: 14 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@
*
*/

// TODO: find a way to consolidate this in one place, with webpack.common.js
const ignorePatterns = [
'vue-material-design-icons',
'@juliushaertl',
'tributejs',
'@nextcloud/vue',
'splitpanes',
'string-length',
'strip-ansi',
'ansi-regex',
'char-regex',
]

module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/no-babel',
// Allow tests in the src and in tests/unit folders
testMatch: ['<rootDir>/src/**/*.(spec|test).(ts|js)'],
transformIgnorePatterns: [
'node_modules/(?!(vue-material-design-icons|@juliushaertl|tributejs)/)',
'node_modules/(?!(' + ignorePatterns.join('|') + ')/)',
],
resetMocks: false,
setupFiles: ['jest-localstorage-mock'],
Expand Down
Loading

0 comments on commit 1f66a7c

Please sign in to comment.