]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: jest transform private methods 47012/head
authorskjnldsv <skjnldsv@protonmail.com>
Sat, 3 Aug 2024 07:44:12 +0000 (09:44 +0200)
committerskjnldsv <skjnldsv@protonmail.com>
Sat, 3 Aug 2024 07:44:12 +0000 (09:44 +0200)
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
babel.config.js
package-lock.json
package.json

index dfead674f3fb08e573c7025de6d47b920ca54ebd..523dbe5de019df16c0d65ea55ddac3f31966521b 100644 (file)
@@ -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
                [
index 5bcb667f4dd10a312b5398cde22719d35c457d26..b911c9792bdb7dac04e01f68b86b6a015240615d 100644 (file)
@@ -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",
index 4359912a0a5d68a2041be351006c7160790ab19e..ebc731e9e04e7199ebeb0cbb9e99c790682297fe 100644 (file)
   },
   "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",