Merge pull request #32734 from backstage/rugvip/test-utils

frontend-test-utils: more mockApis and utilities
This commit is contained in:
Patrik Oldsberg
2026-02-10 13:21:16 +01:00
committed by GitHub
77 changed files with 3920 additions and 419 deletions
+25
View File
@@ -3207,6 +3207,11 @@ __metadata:
yn: "npm:^4.0.0"
zod: "npm:^3.25.76"
zod-to-json-schema: "npm:^3.25.1"
peerDependencies:
"@types/jest": "*"
peerDependenciesMeta:
"@types/jest":
optional: true
languageName: unknown
linkType: soft
@@ -3954,26 +3959,38 @@ __metadata:
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/config": "workspace:^"
"@backstage/core-app-api": "workspace:^"
"@backstage/core-plugin-api": "workspace:^"
"@backstage/frontend-app-api": "workspace:^"
"@backstage/frontend-plugin-api": "workspace:^"
"@backstage/plugin-app": "workspace:^"
"@backstage/plugin-app-react": "workspace:^"
"@backstage/plugin-permission-common": "workspace:^"
"@backstage/plugin-permission-react": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@backstage/types": "workspace:^"
"@backstage/version-bridge": "workspace:^"
"@testing-library/jest-dom": "npm:^6.0.0"
"@types/jest": "npm:*"
"@types/react": "npm:^18.0.0"
"@types/zen-observable": "npm:^0.8.0"
i18next: "npm:^22.4.15"
msw: "npm:^2.0.0"
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
react-router-dom: "npm:^6.30.2"
zen-observable: "npm:^0.10.0"
zod: "npm:^3.25.76"
peerDependencies:
"@testing-library/react": ^16.0.0
"@types/jest": "*"
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
react-dom: ^17.0.0 || ^18.0.0
react-router-dom: ^6.30.2
peerDependenciesMeta:
"@types/jest":
optional: true
"@types/react":
optional: true
languageName: unknown
@@ -5430,11 +5447,14 @@ __metadata:
zen-observable: "npm:^0.10.0"
zod: "npm:^3.25.76"
peerDependencies:
"@backstage/frontend-test-utils": "workspace:^"
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
react-dom: ^17.0.0 || ^18.0.0
react-router-dom: ^6.30.2
peerDependenciesMeta:
"@backstage/frontend-test-utils":
optional: true
"@types/react":
optional: true
languageName: unknown
@@ -7042,6 +7062,7 @@ __metadata:
"@backstage/core-components": "workspace:^"
"@backstage/core-plugin-api": "workspace:^"
"@backstage/frontend-plugin-api": "workspace:^"
"@backstage/frontend-test-utils": "workspace:^"
"@backstage/plugin-catalog": "workspace:^"
"@backstage/plugin-catalog-common": "workspace:^"
"@backstage/plugin-catalog-react": "workspace:^"
@@ -7111,6 +7132,7 @@ __metadata:
"@backstage/dev-utils": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/frontend-plugin-api": "workspace:^"
"@backstage/frontend-test-utils": "workspace:^"
"@backstage/integration": "workspace:^"
"@backstage/integration-react": "workspace:^"
"@backstage/plugin-catalog": "workspace:^"
@@ -7967,11 +7989,14 @@ __metadata:
zen-observable: "npm:^0.10.0"
peerDependencies:
"@testing-library/react": ^16.0.0
"@types/jest": "*"
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0
react-dom: ^17.0.0 || ^18.0.0
react-router-dom: ^6.30.2
peerDependenciesMeta:
"@types/jest":
optional: true
"@types/react":
optional: true
languageName: unknown