aboutsummaryrefslogtreecommitdiffstats
path: root/jest.config.ts
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-27 11:44:59 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-27 16:16:41 +0200
commitcd54f7c7f432e7a88f81c1d453798812edff0459 (patch)
treeea64c844770fd75d08df0e6ee121654e0742799f /jest.config.ts
parent4cfab4b838ed40dec200f7673992009896c69f16 (diff)
downloadnextcloud-server-cd54f7c7f432e7a88f81c1d453798812edff0459.tar.gz
nextcloud-server-cd54f7c7f432e7a88f81c1d453798812edff0459.zip
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'jest.config.ts')
-rw-r--r--jest.config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/jest.config.ts b/jest.config.ts
index 4a3816d9da6..7e0ae631cd6 100644
--- a/jest.config.ts
+++ b/jest.config.ts
@@ -55,6 +55,10 @@ const config: Config = {
// process `*.js` files with `babel-jest`
'^.+\\.js$': 'babel-jest',
'^.+\\.vue$': '@vue/vue2-jest',
+ '^.+\\.ts$': ['ts-jest', {
+ // @see https://github.com/kulshekhar/ts-jest/issues/4081
+ tsconfig: './__tests__/tsconfig.json',
+ }],
},
transformIgnorePatterns: [
'node_modules/(?!(' + ignorePatterns.join('|') + ')/)',