aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-08-03 09:44:12 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-08-03 09:44:12 +0200
commit3c869a0c3a54cd7c12833ef46fcb8d0b3f185aca (patch)
treee7da7f7f29ee1dc00318284d309da50b7f0383a8
parentb6e1c9531dd4a3c1c367bd2acbc2caafd8f352de (diff)
downloadnextcloud-server-3c869a0c3a54cd7c12833ef46fcb8d0b3f185aca.tar.gz
nextcloud-server-3c869a0c3a54cd7c12833ef46fcb8d0b3f185aca.zip
fix: jest transform private methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
-rw-r--r--babel.config.js1
-rw-r--r--package-lock.json1
-rw-r--r--package.json1
3 files changed, 3 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js
index dfead674f3f..523dbe5de01 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -6,6 +6,7 @@ module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-class-properties',
+ '@babel/plugin-transform-private-methods',
// We need the bundler entry not the web one
// Jest will otherwise resolve the wrong one
[
diff --git a/package-lock.json b/package-lock.json
index 5bcb667f4dd..b911c9792bd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -89,6 +89,7 @@
},
"devDependencies": {
"@babel/node": "^7.24.8",
+ "@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@cypress/vue2": "^2.1.1",
"@cypress/webpack-preprocessor": "^6.0.2",
diff --git a/package.json b/package.json
index 4359912a0a5..ebc731e9e04 100644
--- a/package.json
+++ b/package.json
@@ -117,6 +117,7 @@
},
"devDependencies": {
"@babel/node": "^7.24.8",
+ "@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@cypress/vue2": "^2.1.1",
"@cypress/webpack-preprocessor": "^6.0.2",