Version Packages
This commit is contained in:
@@ -1,5 +1,33 @@
|
||||
# @backstage/frontend-test-utils
|
||||
|
||||
## 0.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 44d77e9: **BREAKING**: `renderInTestApp` no longer renders a sidebar or legacy `nav-item` extensions. The app nav extension is now disabled in the minimal test app shell, along with the layout and routes extensions.
|
||||
|
||||
If your tests passed `features` containing `nav-item` extensions and asserted on links or labels in that stub sidebar, switch to `renderTestApp` instead — it uses the real app shell and discovers nav items from page extensions.
|
||||
|
||||
If you only use `renderInTestApp` to mount a component with APIs or route refs, there is no change.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 0c298f7: Removed internal `mockWithApiFactory` helper in favor of using `attachMockApiFactory` directly.
|
||||
- fa363f9: Added support for `ExternalRouteRef` in the `mountedRoutes` option of `renderInTestApp` and `renderTestApp`.
|
||||
- 9279ea8: Added explicit type annotations to `.map()` callback parameters in `renderInTestApp` to avoid implicit `any` errors with newer TypeScript versions.
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-app@0.4.6
|
||||
- @backstage/frontend-app-api@0.16.3
|
||||
- @backstage/frontend-plugin-api@0.17.0
|
||||
- @backstage/core-plugin-api@1.12.6
|
||||
- @backstage/filter-predicates@0.1.3
|
||||
- @backstage/plugin-permission-common@0.9.9
|
||||
- @backstage/plugin-app-react@0.2.3
|
||||
- @backstage/config@1.3.8
|
||||
- @backstage/core-app-api@1.20.1
|
||||
- @backstage/test-utils@1.7.18
|
||||
- @backstage/plugin-permission-react@0.5.1
|
||||
|
||||
## 0.5.3-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/frontend-test-utils",
|
||||
"version": "0.5.3-next.1",
|
||||
"version": "0.6.0",
|
||||
"backstage": {
|
||||
"role": "web-library"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user