Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump @nextcloud/vue to v8.0.0-beta.8 #10626

Merged
merged 9 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 23 additions & 28 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,43 +22,38 @@

const { resolve } = require('node:path')

// Listed packages will be transformed with babel-jest
// 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)',
'(uuid)',
'(unist*)',
'(unified)',
'(bail)',
'(remark*)',
'(is-*)',
'(trough)',
'(vfile)',
'(mdast*)',
'(micromark)',
'(decode-named-character-reference)',
'(trim-lines)',
'(rehype*)',
'(hast-*)',
'(property-information)',
'(space-separated-tokens)',
'(comma-separated-tokens)',
'(web-namespaces)',
'bail',
'comma-separated-tokens',
'decode-named-character-reference',
'devlop',
'escape-string-regexp',
'hast-.*',
'is-.*',
'mdast-.*',
'micromark',
'property-information',
'rehype-.*',
'remark-.*',
'space-separated-tokens',
'trim-lines',
'trough',
'unified',
'unist-.*',
'vfile',
'vue-material-design-icons',
'web-namespaces',
]

module.exports = {

// Allow tests in the src and in tests/unit folders
testMatch: ['<rootDir>/src/**/*.(spec|test).(ts|js)'],
// Transform packages from top-level and nested 'node_modules'
transformIgnorePatterns: [
'node_modules/(?!' + ignorePatterns.join('|') + '/)',
`<rootDir>/node_modules/(?!(?:.*\\/node_modules\\/)?(?:${ignorePatterns.join('|')}))`,
ShGKme marked this conversation as resolved.
Show resolved Hide resolved
],
resetMocks: false,
setupFiles: ['jest-localstorage-mock'],
Expand Down
Loading
Loading