From 86925833ef7a8ac186a783eb5a7558fd3ec4a9e7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 17 Jun 2022 11:08:14 +0200 Subject: [PATCH] Install latest version of babel-jest Signed-off-by: Thomas Citharel --- js/package.json | 3 ++- .../ParticipationWithoutAccount.spec.ts.snap | 2 +- js/yarn.lock | 10 +++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/js/package.json b/js/package.json index 291b0956c..79073992b 100644 --- a/js/package.json +++ b/js/package.json @@ -82,7 +82,7 @@ }, "devDependencies": { "@rushstack/eslint-patch": "^1.1.0", - "@types/jest": "^27.0.2", + "@types/jest": "^28.0.0", "@types/leaflet": "^1.5.2", "@types/leaflet.locatecontrol": "^0.74", "@types/lodash": "^4.14.141", @@ -105,6 +105,7 @@ "@vue/eslint-config-typescript": "^11.0.0", "@vue/test-utils": "^1.1.0", "@vue/vue2-jest": "^28.0.0", + "babel-jest": "^28.1.1", "eslint": "^8.2.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.20.2", diff --git a/js/tests/unit/specs/components/Participation/__snapshots__/ParticipationWithoutAccount.spec.ts.snap b/js/tests/unit/specs/components/Participation/__snapshots__/ParticipationWithoutAccount.spec.ts.snap index cebfa47e2..3f251f530 100644 --- a/js/tests/unit/specs/components/Participation/__snapshots__/ParticipationWithoutAccount.spec.ts.snap +++ b/js/tests/unit/specs/components/Participation/__snapshots__/ParticipationWithoutAccount.spec.ts.snap @@ -62,7 +62,7 @@ exports[`ParticipationWithoutAccount handles being already a participant 1`] = ` Send email -
+ diff --git a/js/yarn.lock b/js/yarn.lock index f79304ecc..76445ba54 100644 --- a/js/yarn.lock +++ b/js/yarn.lock @@ -2092,7 +2092,7 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^27.0.1", "@types/jest@^27.0.2": +"@types/jest@^27.0.1": version "27.5.2" resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.5.2.tgz#ec49d29d926500ffb9fd22b84262e862049c026c" integrity sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA== @@ -2100,6 +2100,14 @@ jest-matcher-utils "^27.0.0" pretty-format "^27.0.0" +"@types/jest@^28.0.0": + version "28.1.1" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.1.tgz#8c9ba63702a11f8c386ee211280e8b68cb093cd1" + integrity sha512-C2p7yqleUKtCkVjlOur9BWVA4HgUQmEj/HWCt5WzZ5mLXrWnyIfl0wGuArc+kBXsy0ZZfLp+7dywB4HtSVYGVA== + dependencies: + jest-matcher-utils "^27.0.0" + pretty-format "^27.0.0" + "@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"