cli: bump to jest 27, remove other jest deps

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-30 19:07:00 +01:00
parent 84409a80dd
commit 1f7d4763ab
6 changed files with 704 additions and 512 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/cli': minor
---
Bump the version range of `jest` from `^26.0.1` to `^27.4.7`. You can find the complete list of breaking changes [here](https://github.com/facebook/jest/releases/tag/v27.0.0).
One of the main breaking changes in Jest 27 is that the default test environment is now `node` rather than `jsdom`. However, this is counteracted in the default Jest configuration provided by the Backstage CLI, as it still defaults the environment to `jsdom`. The future addition of the Backstage package `"role"` field will override this default, setting the test environment to the appropriate value for the role.
-1
View File
@@ -108,7 +108,6 @@
"aws-sdk-mock": "^5.2.1",
"better-sqlite3": "^7.5.0",
"http-errors": "^2.0.0",
"jest": "^26.0.1",
"mock-fs": "^5.1.0",
"msw": "^0.35.0",
"mysql2": "^2.2.5",
-1
View File
@@ -51,7 +51,6 @@
"@backstage/backend-test-utils": "^0.1.23-next.0",
"@backstage/cli": "^0.16.1-next.0",
"@types/cron": "^1.7.3",
"jest": "^26.0.1",
"wait-for-expect": "^3.0.2"
},
"files": [
+1 -2
View File
@@ -46,8 +46,7 @@
"uuid": "^8.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.16.1-next.0",
"jest": "^26.0.1"
"@backstage/cli": "^0.16.1-next.0"
},
"files": [
"dist"
+1 -1
View File
@@ -85,7 +85,7 @@
"handlebars": "^4.7.3",
"html-webpack-plugin": "^5.3.1",
"inquirer": "^8.2.0",
"jest": "^26.0.1",
"jest": "^27.4.7",
"jest-css-modules": "^2.1.0",
"jest-transform-yaml": "^1.0.0",
"json-schema": "^0.4.0",
+695 -507
View File
File diff suppressed because it is too large Load Diff