0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-14 21:39:28 +00:00

fix: jest transform private methods

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2024-08-03 09:44:12 +02:00
parent b6e1c9531d
commit 3c869a0c3a
3 changed files with 3 additions and 0 deletions

View 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
[

1
package-lock.json generated
View 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",

View file

@ -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",