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:
parent
b6e1c9531d
commit
3c869a0c3a
3 changed files with 3 additions and 0 deletions
|
@ -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
1
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue