diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-26 15:24:15 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-09-26 15:24:15 +0200 |
commit | 7622fdfce3544cf29e32a002627215527ece26e2 (patch) | |
tree | 7ddc2039b0f8d999b7e60c05f5c6e6f58dd6b9e5 /package.json | |
parent | 8eb03e712aedc7c768c1d827732b957100eb22c3 (diff) | |
download | nextcloud-server-7622fdfce3544cf29e32a002627215527ece26e2.tar.gz nextcloud-server-7622fdfce3544cf29e32a002627215527ece26e2.zip |
Remove unneeded and problematic vue-cli-plugin-unit-test
It was causing issues during dependency upgrades and wasn't really used
except for its preset definition.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/package.json b/package.json index 79e67ec0019..a5aa66f8f3e 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "@nextcloud/sharing": "^0.1.0", "@nextcloud/vue": "^7.0.0-beta.4", "@nextcloud/vue-dashboard": "^2.0.1", - "@vue/cli-plugin-unit-jest": "^4.5.15", "autosize": "^5.0.1", "backbone": "^1.4.1", "blueimp-md5": "^2.19.0", @@ -111,6 +110,8 @@ "@testing-library/user-event": "^14.1.1", "@testing-library/vue": "^5.8.3", "@vue/test-utils": "^1.3.0", + "@vue/vue2-jest": "^29.1.1", + "babel-jest": "^29.0.3", "babel-loader": "^8.2.5", "babel-loader-exclude-node-modules-except": "^1.2.1", "css-loader": "^6.7.1", @@ -121,7 +122,8 @@ "handlebars-loader": "^1.7.1", "jasmine-core": "~2.5.2", "jasmine-sinon": "^0.4.0", - "jest": "^26.6.3", + "jest": "^29.0.3", + "jest-environment-jsdom": "^29.0.3", "jsdoc": "^3.6.10", "jsdom": "^19.0.0", "karma": "^6.4.0", @@ -138,7 +140,6 @@ "sass-loader": "^12.6.0", "sinon": "<= 5.0.7", "style-loader": "^3.3.1", - "vue-jest": "^4.0.1", "vue-loader": "^15.9.8", "vue-template-compiler": "^2.7.10", "webpack": "^5.74.0", @@ -154,18 +155,5 @@ }, "overrides": { "colors": "1.4.0" - }, - "jest": { - "moduleFileExtensions": [ - "js", - "vue" - ], - "setupFilesAfterEnv": [ - "<rootDir>/tests/jestSetup.js" - ], - "transform": { - "^.+\\.js$": "<rootDir>/tests/jestBabelTransformer.js", - "^.+\\.vue$": "vue-jest" - } } } |